CoreFiles by mySites.guru
admin-items-modal.es6.min.js1 lines, 1,335 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
a8d47829078f0a57242f4e574bb4cd65
sha1
f8e239a6fe684053738c0491a7da525f00b637c9
sha256
16f7f01ac758ad5396e8417b4ef960da5b13ed09d3bbd3ebb8141f873cdf3d12
((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()};const c=[].slice.call(b.querySelectorAll(".select-link"));c.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.