CoreFiles by mySites.guru
extensionupdatecheck.min.js4 lines, 1,054 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
02d72f6299b8409dd5b1ac70d8c77b49
sha1
cfc2d1edc0d416db462131ff9786a1e46a73047c
sha256
0909f3d3d7c93fb163a9743853ff8dd06f36cadae793dfd4a5e13a6c84e49c12
/**
 * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */(()=>{const a=()=>{if(Joomla.getOptions("js-extensions-update")){const l=Joomla.getOptions("js-extensions-update"),t=(s,n)=>{const e=document.getElementById("plg_quickicon_extensionupdate"),o=[].slice.call(e.querySelectorAll("span.j-links-link"));e&&e.classList.add(s),o.length&&o.forEach(i=>{i.innerHTML=Joomla.sanitizeHtml(n)})};Joomla.enqueueRequest({url:l.ajaxUrl,method:"GET",promise:!0}).then(s=>{const n=s.responseText,e=JSON.parse(n);Array.isArray(e)?e.length===0?t("success",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_UPTODATE")):t("danger",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_UPDATEFOUND").replace("%s",`<span class="badge text-dark bg-light">${e.length}</span>`)):t("danger",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_ERROR"))}).catch(()=>{t("danger",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_ERROR"))})}};window.addEventListener("load",()=>{setTimeout(a,330)})})();

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