CoreFiles by mySites.guru
overridecheck.min.js1 lines, 1,121 bytes, from Joomla_4.2.3-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 4.2.1-rc2
md5
7802a352b90f7dfc3875f18e33078ad3
sha1
8157be184f3c6370f137c0231da7185879c30767
sha256
0f45153623d5bb76ef56c2743f778f983f79887474becf4fe5a5b5d7b47d8000
(()=>{const e=()=>{if(Joomla.getOptions("js-override-check")){const e=Joomla.getOptions("js-override-check"),t=(e,t,o)=>{const n=document.getElementById("plg_quickicon_overridecheck"),s=n.querySelectorAll("span.j-links-link");n&&(n.classList.add(e),o&&n.setAttribute("href",o)),s.length&&s.forEach((e=>{e.innerHTML=Joomla.sanitizeHtml(t)}))};Joomla.enqueueRequest({url:e.ajaxUrl,method:"GET",promise:!0}).then((o=>{const n=o.responseText,s=JSON.parse(n);if("disabled"!==s.installerOverride){if(!Array.isArray(s))throw new Error("Override check: unexpected value type");0===s.length?t("success",Joomla.Text._("PLG_QUICKICON_OVERRIDECHECK_UPTODATE"),""):(window.scrollTo(0,0),t("danger",Joomla.Text._("PLG_QUICKICON_OVERRIDECHECK_OVERRIDEFOUND").replace("%s",`<span class="badge text-dark bg-light">${s.length}</span>`),""))}else t("danger",Joomla.Text._("PLG_QUICKICON_OVERRIDECHECK_ERROR_ENABLE"),`index.php?option=com_plugins&task=plugin.edit&extension_id=${e.pluginId}`)})).catch((()=>{t("danger",Joomla.Text._("PLG_QUICKICON_OVERRIDECHECK_ERROR"),"")}))}};window.addEventListener("load",(()=>{setTimeout(e,390)}))})();

The same content is in 56 releases, Joomla 4.2.0-rc1 to 5.0.0. See them all, or every version of this file.