CoreFiles by mySites.guru
admin-add_module-es5.min.js1 lines, 1,051 bytes, from Joomla_4.2.2-Stable-Full_Package.zip
Raw History Compare with 4.2.1
md5
7b9046e20a2eef25ed36169894008785
sha1
26cff6e5baf165bee4fd7d3124fe1199867e32b7
sha256
a2fe94f2249cd8fd1c3db5a55af35c89231c753587039909e4c279d42311d726
!function(){"use strict";!function(e){e.addEventListener("DOMContentLoaded",(function(){window.jSelectModuleType=function(){var t=e.querySelectorAll("#moduleDashboardAddModal .modal-footer .btn.hidden");t.length&&setTimeout((function(){t.forEach((function(e){e.classList.remove("hidden")}))}),1e3)};var t=e.querySelectorAll("#moduleDashboardAddModal .modal-footer .btn"),n=[],o=!1;t.length&&t.forEach((function(t){t.classList.contains("hidden")&&n.push(t),t.addEventListener("click",(function(t){var n=t.currentTarget;if(n||(n=t.target),n){var d=n.dataset.bsTarget;o="#saveBtn"===d,setTimeout((function(){o=!1}),1500);var a=e.querySelector("#moduleDashboardAddModal iframe"),i=(a.contentDocument||a.contentWindow.document).querySelector(d);i&&i.click()}}))}));var d=e.querySelector("#moduleDashboardAddModal");d&&(d.addEventListener("hide.bs.modal",(function(){n.forEach((function(e){e.classList.add("hidden")}))})),d.addEventListener("hidden.bs.modal",(function(){o&&setTimeout((function(){window.parent.location.reload()}),1e3)})))}))}(document)}();

The same content is in 97 releases, Joomla 4.0.0-rc1 to 5.0.0-alpha1. See them all, or every version of this file.