CoreFiles by mySites.guru
admin-system-loader.min.js1 lines, 1,080 bytes, from Joomla_4.2.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta1
md5
d9b3a69d8a52654084e01943cf64f175
sha1
e4d42846f5ddc87bded97e7f905551603418f69c
sha256
3ab3c92986081ebfe858a06d84dece76880b1203c75a36461e8831ec5e9f26c1
((e,s)=>{const t=()=>{window.removeEventListener("load",t);const a=[].slice.call(e.querySelectorAll(".system-counter"));a.length&&a.forEach((t=>{const a=t.getAttribute("data-url");a&&s&&s.request&&"function"==typeof s.request&&s.request({url:a,method:"POST",queued:!0,onSuccess:a=>{let c;try{c=JSON.parse(a)}catch(e){throw new Error("Failed to parse JSON")}if(c.error||!c.success)t.classList.remove("icon-spin"),t.classList.remove("icon-spinner"),t.classList.add("text-danger"),t.classList.add("icon-remove");else if(c.data){const a=e.createElement("span");a.classList.add("float-end"),a.classList.add("badge"),a.classList.add("bg-warning","text-dark"),a.innerHTML=s.sanitizeHtml(c.data),t.parentNode.replaceChild(a,t)}else t.classList.remove("icon-spin"),t.classList.remove("icon-spinner"),t.classList.add("icon-check"),t.classList.add("text-success")},onError:()=>{t.classList.remove("icon-spin"),t.classList.remove("icon-spinner"),t.classList.add("text-danger"),t.classList.add("icon-remove")}})}))};window.addEventListener("load",(()=>{setTimeout(t,300)}))})(document,Joomla);

The same content is in 2 releases, Joomla 4.2.0-beta2 to 4.2.0-beta3. See them all, or every version of this file.