CoreFiles by mySites.guru
admin-items-modal.es6.min.js1 lines, 1,158 bytes, from Joomla_4.0.0-alpha8-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha7
md5
e16ed54ca255e95f55d329f4430246a9
sha1
88c1c57d39f39e686ce0407574cfd73400273293
sha256
f8c79cf2562ece6970a5938df6cb9613c25bad9e4644a299aef9a3499fc56037
((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=\"".concat(d+h+g,"\">").concat(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.