CoreFiles by mySites.guru
admin-add_module.es6.min.js1 lines, 968 bytes, from Joomla_4.0.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta
md5
8c065cba323dd99816fe9bb66930c318
sha1
851a160db67c3f90e44a1a40707628ad0ff87920
sha256
cc278616f95b40f075758b9c9139b891a2470d0d2d0a6466c9862511f65fb24f
Joomla=window.Joomla||{},(a=>{'use strict';a.addEventListener("DOMContentLoaded",()=>{window.jSelectModuleType=()=>{const b=a.querySelectorAll("#moduleDashboardAddModal .modal-footer .btn.hidden");b.length&&setTimeout(()=>{b.forEach(a=>{a.classList.remove("hidden")})},1e3)};const b=a.querySelectorAll("#moduleDashboardAddModal .modal-footer .btn"),c=[];let d=!1;b.length&&b.forEach(b=>{b.classList.contains("hidden")&&c.push(b),b.addEventListener("click",b=>{let c=b.currentTarget;if(c||(c=b.target),c){const b=c.getAttribute("data-target");d="#saveBtn"===b,setTimeout(()=>{d=!1},1500);const e=a.querySelector("#moduleDashboardAddModal iframe"),f=e.contentDocument||e.contentWindow.document,g=f.querySelector(b);g&&g.click()}})}),jQuery("#moduleDashboardAddModal").on("hide.bs.modal",()=>{c.forEach(a=>{a.classList.add("hidden")})}),jQuery("#moduleDashboardAddModal").on("hidden.bs.modal",()=>{d&&setTimeout(()=>{window.parent.location.reload()},1e3)})})})(document);

The same content is in 5 releases, Joomla 4.0.0-beta2 to 4.0.0-beta6. See them all, or every version of this file.