CoreFiles by mySites.guru
overridecheck-es5.min.js1 lines, 1,172 bytes, from Joomla_4.3.4-Stable-Full_Package.zip
Raw History Compare with 4.3.3
md5
ff5896c62309da09427937048a8afa36
sha1
90804d22de3778e989c0c1bd7e31a74fc015a1d7
sha256
9f07c5c1a69cc94f2adcc856b6dc0c5cf47d5ece6fc68ce4ad46ba4d4e0cf478
!function(){"use strict";var e;e=function(){if(Joomla.getOptions("js-override-check")){var e=Joomla.getOptions("js-override-check"),t=function(e,t,n){var o=document.getElementById("plg_quickicon_overridecheck"),i=o.querySelectorAll("span.j-links-link");o&&(o.classList.add(e),n&&o.setAttribute("href",n)),i.length&&i.forEach((function(e){e.innerHTML=Joomla.sanitizeHtml(t)}))};Joomla.enqueueRequest({url:e.ajaxUrl,method:"GET",promise:!0}).then((function(n){var o=n.responseText,i=JSON.parse(o);if("disabled"!==i.installerOverride){if(!Array.isArray(i))throw new Error("Override check: unexpected value type");0===i.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">'+i.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((function(){t("danger",Joomla.Text._("PLG_QUICKICON_OVERRIDECHECK_ERROR"),"")}))}},window.addEventListener("load",(function(){setTimeout(e,390)}))}();

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