芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media.4/com_menus/js/admin-items-modal-es5.min.js
!function(){"use strict";!function(t,e){window.jSelectMenuItem=function(e,a,n,o,r,i){var l="";if(!t.getOptions("xtd-menus"))throw window.parent.Joomla.Modal.getCurrent().close(),new Error("core.js was not properly initialised");var d=t.getOptions("xtd-menus").editor;""!==i&&(l="&lang=");var u='
'+a+"
";window.parent.Joomla.editors.instances[d].getSelection()?window.parent.Joomla.editors.instances[d].replaceSelection('
'+window.parent.Joomla.editors.instances[d].getSelection()+"
"):window.parent.Joomla.editors.instances[d].replaceSelection(u),window.parent.Joomla&&window.parent.Joomla.Modal&&window.parent.Joomla.Modal.getCurrent().close()},[].slice.call(e.querySelectorAll(".select-link")).forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault();var e=t.target.getAttribute("data-function");"jSelectMenuItem"===e?window[e](t.target.getAttribute("data-id"),t.target.getAttribute("data-title"),t.target.getAttribute("data-uri"),null,null,t.target.getAttribute("data-language")):window.parent[e](t.target.getAttribute("data-id"),t.target.getAttribute("data-title"),null,null,t.target.getAttribute("data-uri"),t.target.getAttribute("data-language"),null),window.parent.Joomla.Modal&&window.parent.Joomla.Modal.getCurrent().close()}))}))}(Joomla,document)}();