CoreFiles by mySites.guru
admin-items-modal.es6.min.js1 lines, 1,380 bytes, from Joomla_4.0.0-alpha10-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha9
md5
55c8fcf92fe38e31cf30219efb0840df
sha1
fa17ff7250d09017c7a33fe39015ca049c22dae3
sha256
e3f77668c451d4bc44ffae1b93e00bd15de3fad01b9fbb79c9beadc3139f0dc9
((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].getSelection()?window.parent.Joomla.editors.instances[i].replaceSelection("<a href=\"".concat(d+h+g,"\">").concat(window.parent.Joomla.editors.instances[i].getSelection(),"</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);

The same content is in 3 releases, Joomla 4.0.0-alpha9 to 4.0.0-alpha11. See them all, or every version of this file.