CoreFiles by mySites.guru
admin-item-edit_modules.min.js1 lines, 1,997 bytes, from Joomla_4.0.0-alpha11-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha10
md5
32f34aa3e13c6ac01701106c3fe909c5
sha1
a8df204a82ebdad41f1a7382645fbdcdef12d661
sha256
bb163959f73484d09e61ebd3513b0d1069eb4d35d2726f10331c256127a26aa3
Joomla=window.Joomla||{},function(){'use strict';var a=Joomla.getOptions("menus-edit-modules");a&&(window.viewLevels=a.viewLevels,window.menuId=parseInt(a.itemId,10)),document.addEventListener("DOMContentLoaded",function(){var a=document.getElementById("jform_toggle_modules_assigned1"),b=document.getElementById("jform_toggle_modules_assigned0"),c=document.getElementById("jform_toggle_modules_published1"),d=document.getElementById("jform_toggle_modules_published0"),e=[].slice.call(document.getElementsByClassName("module-edit-link")),f=[].slice.call(document.querySelectorAll("#moduleEditModal .modal-footer .btn"));a&&a.addEventListener("click",function(){var a=[].slice.call(document.querySelectorAll("tr.no"));a.forEach(function(a){a.style.display="table-row"})}),b&&b.addEventListener("click",function(){var a=[].slice.call(document.querySelectorAll("tr.no"));a.forEach(function(a){a.style.display="none"})}),c&&c.addEventListener("click",function(){var a=[].slice.call(document.querySelectorAll(".table tr.unpublished"));a.forEach(function(a){a.style.display="table-row"})}),d&&d.addEventListener("click",function(){var a=[].slice.call(document.querySelectorAll(".table tr.unpublished"));a.forEach(function(a){a.style.display="none"})}),e.length&&e.forEach(function(a){a.addEventListener("click",function(a){var 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",function(a){var c=document.createElement("iframe");c.src=b,c.setAttribute("class","class=\"iframe jviewport-height70\"");var d=a.target.querySelector(".modal-body");d.innerHTML="",d.appendChild(c)})})}),f.length&&f.forEach(function(a){a.addEventListener("click",function(a){var b=a.target.getAttribute("data-target");if(b){var c=document.querySelector("#moduleEditModal iframe");c.contents().querySelector(b).click()}})})})}();

The same content is in 4 releases, Joomla 4.0.0-alpha8 to 4.0.0-alpha11. See them all, or every version of this file.