芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media.6/com_contact/js/admin-contacts-modal-es5.min.js
!function(){"use strict";window.jSelectContact=function(t,e,a,n,r,o){var l="";if(!Joomla.getOptions("xtd-contacts"))return window.parent.Joomla.Modal.getCurrent().close(),!1;var i=Joomla.getOptions("xtd-contacts").editor;""!==o&&(l='hreflang = "'+o+'"');var d="
'+e+"
";return window.parent.Joomla.editors.instances[i].replaceSelection(d),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.getAttribute("data-function");"jSelectContact"===e?window[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[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()}))}))}();