CoreFiles by mySites.guru
admin-item-edit_modules.min.js1 lines, 1,997 bytes, from Joomla_4.0.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha6
md5
55f3a2fbd67df77a4841c99dabc18a13
sha1
191df203c22728395864112af86c2d7d13998217
sha256
651c27191c73c96ea462081331b7d7fa31fcd6ea5296c0ef3ee5b25b5c7532f1
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 2 releases, Joomla 4.0.0-alpha6 to 4.0.0-alpha7. See them all, or every version of this file.