CoreFiles by mySites.guru
healthcheck.min.js4 lines, 955 bytes, from Joomla_6.0.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 5.4.0-alpha3
md5
688a6e0b02e1c433eb5cbb10ac412250
sha1
e4e2d73e8d05c5f7bbb2be4848ebc84cf73bcaa1
sha256
630ee8d58eadaccc6f73a79450747206dcc486ccced601397a2c644906cb74ec
/**
 * @copyright  (C) 2025 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */if(Joomla&&Joomla.getOptions("js-auto-update")){const e=(a,s)=>{const t=document.getElementById("plg_quickicon_autoupdate");t&&t.classList.add(a),t.querySelectorAll("span.j-links-link").forEach(o=>{o.innerHTML=Joomla.sanitizeHtml(s)})},n=()=>{const a=Joomla.getOptions("js-auto-update");Joomla.enqueueRequest({url:a.ajaxUrl,method:"GET",promise:!0}).then(s=>{const t=s.responseText,o=JSON.parse(t);o?o.active?o.healthy?e("success",Joomla.Text._("PLG_QUICKICON_AUTOUPDATE_OK")):e("danger",Joomla.Text._("PLG_QUICKICON_AUTOUPDATE_OUTDATED")):e("warning",Joomla.Text._("PLG_QUICKICON_AUTOUPDATE_DISABLED")):e("danger",Joomla.Text._("PLG_QUICKICON_AUTOUPDATE_ERROR"))}).catch(()=>{e("danger",Joomla.Text._("PLG_QUICKICON_AUTOUPDATE_ERROR"))})};window.addEventListener("load",()=>setTimeout(n,300))}

The same content is in 2 releases, Joomla 5.4.0-alpha1 to 6.0.0-alpha1. See them all, or every version of this file.