芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media/com_content/js/admin-articles-modal-es5.min.js
!function(){"use strict";window.jSelectArticle=function(t,e,a,n,r,i){var o="";if(!Joomla.getOptions("xtd-articles"))return!1;var d=Joomla.getOptions("xtd-articles").editor;""!==i&&(o='hreflang="'+i+'"');var l="
'+e+"
";return window.parent.Joomla.editors.instances[d].replaceSelection(l),window.parent.Joomla.Modal&&window.parent.Joomla.Modal.getCurrent().close(),!0},document.addEventListener("DOMContentLoaded",(function(){for(var t=document.querySelectorAll(".select-link"),e=0,a=t.length;a>e;e+=1)t[e].addEventListener("click",(function(t){t.preventDefault();var e=t.target,a=e.getAttribute("data-function");"jSelectArticle"===a?window[a](e.getAttribute("data-id"),e.getAttribute("data-title"),e.getAttribute("data-cat-id"),null,e.getAttribute("data-uri"),e.getAttribute("data-language")):window.parent[a](e.getAttribute("data-id"),e.getAttribute("data-title"),e.getAttribute("data-cat-id"),null,e.getAttribute("data-uri"),e.getAttribute("data-language")),window.parent.Joomla.Modal&&window.parent.Joomla.Modal.getCurrent().close()}))}))}();