CoreFiles by mySites.guru
admin-add_module.es6.min.js1 lines, 961 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
b1ca62a7494d53bf84124717e23713aa
sha1
e948aa67f9cf5f70fc12614755bc444836a6c73a
sha256
07d4e8835bc86154f5542899d6e7abb32c8b8c06c6e268bea037a65f13e57a9c
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;f.querySelector(b).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 3 releases, Joomla 4.0.0-alpha11 to 4.0.0-beta. See them all, or every version of this file.