CoreFiles by mySites.guru
admin-items-modal.es6.min.js1 lines, 1,138 bytes, from Joomla_4.0.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha6
md5
d9347debef1f6c2f1c1657b4773a8be9
sha1
213355a27bd31aa66df203e7af8f65cbdf044802
sha256
b2c53b919a55f7e42f80ce5099197b65aa8de9093604226c72396c178c8efe02
((a,b)=>{"use strict";window.jSelectMenuItem=(b,c,d,e,f,g)=>{let h="";if(!a.getOptions("xtd-menus"))throw window.parent.Joomla.Modal.getCurrent().close(),new Error("core.js was not properly initialised");const i=a.getOptions("xtd-menus").editor;""!==g&&(h="&lang=");const j=`<a href="${d+h+g}">${c}</a>`;window.parent.Joomla.editors.instances[i].replaceSelection(j),window.parent.Joomla&&window.parent.Joomla.Modal&&window.parent.Joomla.Modal.getCurrent().close()},b.addEventListener("DOMContentLoaded",()=>{const a=[].slice.call(b.querySelectorAll(".select-link"));a.forEach(a=>{a.addEventListener("click",a=>{a.preventDefault();const b=a.target.getAttribute("data-function");"jSelectMenuItem"===b?window[b](a.target.getAttribute("data-id"),a.target.getAttribute("data-title"),a.target.getAttribute("data-uri"),null,null,a.target.getAttribute("data-language")):window.parent[b](a.target.getAttribute("data-id"),a.target.getAttribute("data-title"),null,null,a.target.getAttribute("data-uri"),a.target.getAttribute("data-language"),null),window.parent.Joomla.Modal&&window.parent.Joomla.Modal.getCurrent().close()})})})})(Joomla,document);

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