[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/media/com_workflow/js/ -> admin-items-workflow-buttons-es5.min.js (source)

   1  !function(){"use strict";Joomla=window.Joomla||{},Joomla.toggleAllNextElements=function(t,e){var n=function(t){var e=[];do{e.push(t)}while(null!==(t=t.nextElementSibling));return e}(t);n.length&&n.forEach((function(t){t.classList.contains(e)?t.classList.remove(e):t.classList.add(e)}))},document.addEventListener("DOMContentLoaded",(function(){var t=document.getElementById("toolbar-status-group");if(t){var e=[].slice.call(t.querySelectorAll(".button-transition")),n=t.querySelector(".button-transition-headline"),o=t.querySelector(".button-transition-separator"),i=document.querySelector("table.itemList"),r=[],s=[];i&&(r=[].slice.call(i.querySelectorAll("tbody tr"))),i&&i.addEventListener("click",(function(){e.forEach((function(t){t.parentNode.classList.add("d-none")})),n&&n.classList.add("d-none"),o&&o.classList.add("d-none"),s=[],r.forEach((function(t){var e,n=t.querySelector("input[type=checkbox]");if(n.checked){var o=n.closest("tr");e=o,s.push(e.getAttribute("data-transitions").split(","))}})),function(){if(s.length){for(var e=s.shift(),i=function(){var t=s.shift();e=e.filter((function(e){return-1!==t.indexOf(e)}))};s.length;)i();e.length&&(n&&n.classList.remove("d-none"),o&&o.classList.remove("d-none")),e.forEach((function(e){var n=t.querySelector(".transition-"+e);n&&n.parentNode.classList.remove("d-none")}))}}()}))}}))}();


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer