CoreFiles by mySites.guru
admin-item-edit_modules.es6.min.js1 lines, 1,861 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
558e240598c7a3213671096e6be6c70c
sha1
dce82dd9418e9d681a4d474341f395858cad8a22
sha256
0abcb80d9bb636a706370a012edb2933d000726b3b183e8604385dc8cf205d4e
Joomla=window.Joomla||{},(()=>{'use strict';const a=Joomla.getOptions("menus-edit-modules");a&&(window.viewLevels=a.viewLevels,window.menuId=parseInt(a.itemId,10));const 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",()=>{const a=[].slice.call(document.querySelectorAll("tr.no"));a.forEach(a=>{a.style.display="table-row"})}),c&&c.addEventListener("click",()=>{const a=[].slice.call(document.querySelectorAll("tr.no"));a.forEach(a=>{a.style.display="none"})}),d&&d.addEventListener("click",()=>{const a=[].slice.call(document.querySelectorAll(".table tr.unpublished"));a.forEach(a=>{a.style.display="table-row"})}),e&&e.addEventListener("click",()=>{const a=[].slice.call(document.querySelectorAll(".table tr.unpublished"));a.forEach(a=>{a.style.display="none"})}),f.length&&f.forEach(a=>{a.addEventListener("click",a=>{const b="index.php?option=com_modules&client_id=0&task=module.edit&tmpl=component&view=module&layout=modal&id="+a.target.getAttribute("data-moduleId"),c=document.getElementById("moduleEditModal");c.addEventListener("show.bs.modal",a=>{const c=document.createElement("iframe");c.src=b,c.setAttribute("class","class=\"iframe jviewport-height70\"");const d=a.target.querySelector(".modal-body");d.innerHTML="",d.appendChild(c)})})}),g.length&&g.forEach(a=>{a.addEventListener("click",a=>{const b=a.target.getAttribute("data-target");if(b){const a=document.querySelector("#moduleEditModal iframe");a.contents().querySelector(b).click()}})})})();

No other release has this exact content. See every version of this file.