CoreFiles by mySites.guru
admin-modules-modal.es6.min.js1 lines, 864 bytes, from Joomla_4.0.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha6
md5
7287a9b7bf5120c46ca2c20f6a17fafc
sha1
b0f96bbbf07b63ecf63c88727cae1f123c6c0e71
sha256
6cb6d1a762d47cd7a4c4866cc99d9f9804c483e465a7228d0f406f0564c90bd1
document.addEventListener("DOMContentLoaded",()=>{"use strict";const a=[].slice.call(document.querySelectorAll(".js-module-insert")),b=[].slice.call(document.querySelectorAll(".js-position-insert"));a.forEach(a=>{a.addEventListener("click",a=>{a.preventDefault();const b=a.target.getAttribute("data-module"),c=a.target.getAttribute("data-title"),d=a.target.getAttribute("data-editor");window.parent.Joomla.editors.instances[d].replaceSelection(`{loadmodule ${b},${c}}`),window.parent.Joomla.Modal&&window.parent.Joomla.Modal.getCurrent().close()})}),b.forEach(a=>{a.addEventListener("click",a=>{a.preventDefault();const b=a.target.getAttribute("data-position"),c=a.target.getAttribute("data-editor");window.parent.Joomla.editors.instances[c].replaceSelection(`{loadposition ${b}}`),window.parent.Joomla.Modal&&window.parent.Joomla.Modal.getCurrent().close()})})});

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