CoreFiles by mySites.guru
admin-modules-modal.min.js1 lines, 933 bytes, from Joomla_4.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha2
md5
92a422ad958ef94dd802fbdd4949e918
sha1
cb60bafeaf4a3b68c87b16a51bc84eef1d80c3bb
sha256
b22f19469c12f2abf9bcb49dd713bc000f566979e8586fa70a21d6c465496118
document.addEventListener("DOMContentLoaded",function(){"use strict";var t,e=document.querySelectorAll(".js-module-insert"),o=document.querySelectorAll(".js-position-insert");for(t=0;e.length>t;t++)e[t].addEventListener("click",function(t){t.preventDefault();var e=t.target.getAttribute("data-module"),o=t.target.getAttribute("data-title"),n=t.target.getAttribute("data-editor");window.parent.Joomla.editors.instances[n].replaceSelection("{loadmodule "+e+","+o+"}"),window.parent.Joomla.currentModal&&parent.window.jQuery(window.parent.Joomla.currentModal).modal("hide")});for(t=0;o.length>t;t++)o[t].addEventListener("click",function(t){t.preventDefault();var e=t.target.getAttribute("data-position"),o=t.target.getAttribute("data-editor");window.parent.Joomla.editors.instances[o].replaceSelection("{loadposition "+e+"}"),window.parent.Joomla.currentModal&&parent.window.jQuery(window.parent.Joomla.currentModal).modal("hide")})});

No other release has this exact content. See every version of this file.