CoreFiles by mySites.guru
overridecheck.min.js1 lines, 1,135 bytes, from Joomla_4.0.0-alpha11-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha10
md5
dfb430f2b758f9bb538fa8bb6e5256f7
sha1
a96093a9d5071e8e1a58b11a33718529a0702a02
sha256
07536e60d77e83f052f79ef4963209d90aa17961b48b5a217589909e7e9a7392
(function(){'use strict';document.addEventListener("DOMContentLoaded",function(){if(Joomla.getOptions("js-override-check")){var a=Joomla.getOptions("js-override-check"),b=function(a,b,c){var d=document.getElementById("plg_quickicon_overridecheck"),e=d.querySelectorAll("span.j-links-link");d&&(d.classList.add(a),c&&d.setAttribute("href",c)),e.length&&e.forEach(function(a){a.innerHTML=b})};Joomla.request({url:a.ajaxUrl,method:"GET",data:"",perform:!0,onSuccess:function onSuccess(c){var d=JSON.parse(c);"disabled"===d.installerOverride?b("danger",Joomla.Text._("PLG_QUICKICON_OVERRIDECHECK_ERROR_ENABLE"),"index.php?option=com_plugins&task=plugin.edit&extension_id=".concat(a.pluginId)):Array.isArray(d)?0===d.length?b("success",Joomla.Text._("PLG_QUICKICON_OVERRIDECHECK_UPTODATE"),""):(window.scrollTo(0,0),b("danger",Joomla.JText._("PLG_QUICKICON_OVERRIDECHECK_OVERRIDEFOUND").replace("%s","<span class=\"badge badge-light\">".concat(d.length,"</span>")),"")):b("danger",Joomla.Text._("PLG_QUICKICON_OVERRIDECHECK_ERROR"),"")},onError:function onError(){b("danger",Joomla.Text._("PLG_QUICKICON_OVERRIDECHECK_ERROR"),"")}})}})})();

The same content is in 11 releases, Joomla 4.0.0-alpha8 to 4.0.0-beta6. See them all, or every version of this file.