CoreFiles by mySites.guru
admin-modules-modal.es6.min.js1 lines, 864 bytes, from Joomla_4.0.0-alpha5-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha3
md5
3da32b6ad53d01329b9dc8f24532fefb
sha1
15bff9f8a494df9e19c2da8b1a25319b9267fcf5
sha256
a04da2184235ae66a7d69ffc1de25da65a47442acc4e4cdf3d7386aa762b8157
document.addEventListener("DOMContentLoaded",()=>{"use strict";const t=[].slice.call(document.querySelectorAll(".js-module-insert")),e=[].slice.call(document.querySelectorAll(".js-position-insert"));t.forEach(t=>{t.addEventListener("click",t=>{t.preventDefault();const e=t.target.getAttribute("data-module"),o=t.target.getAttribute("data-title"),a=t.target.getAttribute("data-editor");window.parent.Joomla.editors.instances[a].replaceSelection(`{loadmodule ${e},${o}}`),window.parent.Joomla.Modal&&window.parent.Joomla.Modal.getCurrent().close()})}),e.forEach(t=>{t.addEventListener("click",t=>{t.preventDefault();const e=t.target.getAttribute("data-position"),o=t.target.getAttribute("data-editor");window.parent.Joomla.editors.instances[o].replaceSelection(`{loadposition ${e}}`),window.parent.Joomla.Modal&&window.parent.Joomla.Modal.getCurrent().close()})})});

The same content is in 2 releases, Joomla 4.0.0-alpha5 to 4.0.0-alpha6. See them all, or every version of this file.