芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media/com_cpanel/js/admin-system-loader-es5.min.js
!function(){"use strict";!function(e,s){var t=function t(){window.removeEventListener("load",t);var n=[].slice.call(e.querySelectorAll(".system-counter"));n.length&&n.forEach((function(t){var n=t.getAttribute("data-url");n&&s&&s.request&&"function"==typeof s.request&&s.request({url:n,method:"POST",onSuccess:function(n){var a;try{a=JSON.parse(n)}catch(e){throw new Error("Failed to parse JSON")}if(a.error||!a.success)t.classList.remove("icon-spin"),t.classList.remove("icon-spinner"),t.classList.add("text-danger"),t.classList.add("icon-remove");else if(a.data){var i=e.createElement("span");i.classList.add("float-end"),i.classList.add("badge"),i.classList.add("bg-warning","text-dark"),i.innerHTML=s.sanitizeHtml(a.data),t.parentNode.replaceChild(i,t)}else t.classList.remove("icon-spin"),t.classList.remove("icon-spinner"),t.classList.add("icon-check"),t.classList.add("text-success")},onError:function(){t.classList.remove("icon-spin"),t.classList.remove("icon-spinner"),t.classList.add("text-danger"),t.classList.add("icon-remove")}})}))};window.addEventListener("load",(function(){setTimeout(t,300)}))}(document,Joomla)}();