- md5
- 60d0e7979fd2a73922c2bb32b530eb42
- sha1
- 5522caf104df8be70df02092f888e972b84d5340
- sha256
- 590a5b923bcb680c15e5c309e48f363376028a92260b498b7ce75de684454bc6
Joomla=window.Joomla||{},function(){'use strict';var a=Joomla.getOptions("menus-edit-modules");a&&(window.viewLevels=a.viewLevels,window.menuId=parseInt(a.itemId,10));var b=document.getElementById("jform_toggle_modules_assigned1"),c=document.getElementById("jform_toggle_modules_assigned0"),d=document.getElementById("jform_toggle_modules_published1"),e=document.getElementById("jform_toggle_modules_published0"),f=[].slice.call(document.getElementsByClassName("module-edit-link")),g=[].slice.call(document.querySelectorAll("#moduleEditModal .modal-footer .btn"));b&&b.addEventListener("click",function(){var a=[].slice.call(document.querySelectorAll("tr.no"));a.forEach(function(a){a.classList.add("table-row"),a.classList.remove("hidden")})}),c&&c.addEventListener("click",function(){var a=[].slice.call(document.querySelectorAll("tr.no"));a.forEach(function(a){a.classList.add("hidden"),a.classList.remove("table-row")})}),d&&d.addEventListener("click",function(){var a=[].slice.call(document.querySelectorAll(".table tr.unpublished"));a.forEach(function(a){a.classList.add("table-row"),a.classList.remove("hidden")})}),e&&e.addEventListener("click",function(){var a=[].slice.call(document.querySelectorAll(".table tr.unpublished"));a.forEach(function(a){a.classList.add("hidden"),a.classList.remove("table-row")})}),f.length&&f.forEach(function(a){a.addEventListener("click",function(a){var b=a.target,c="index.php?option=com_modules&client_id=0&task=module.edit&tmpl=component&view=module&layout=modal&id="+b.getAttribute("data-module-id"),d=document.getElementById("moduleEditModal"),e=d.querySelector(".modal-body"),f=document.createElement("iframe");f.src=c,f.setAttribute("class","class=\"iframe jviewport-height70\""),e.innerHTML="",e.appendChild(f),d.open()})}),g.length&&g.forEach(function(a){a.addEventListener("click",function(a){var b=a.target,c=b.getAttribute("data-bs-target");if(c){var d=document.querySelector("#moduleEditModal iframe"),e=d.contentDocument||d.contentWindow.document;e.querySelector(c).click()}})})}();
No other release has this exact content. See every version of this file.