CoreFiles by mySites.guru
healthcheck.min.js4 lines, 1,041 bytes, from Joomla_6.2.1-Stable-Full_Package.zip
Raw History Compare with 6.2.0
md5
0b269376487fc85e16e4e60644d28229
sha1
922f8598b5ece7858cb68fb230865083adda913d
sha256
f70964012ce12b1c32494544978247f4fbfe4d13a26942cc04e5ff546ce4437b
/**
 * @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 o=document.getElementById("plg_quickicon_autoupdate");o&&o.classList.add(a),o.querySelectorAll("span.j-links-link").forEach(t=>{t.innerHTML=Joomla.sanitizeHtml(s)})},n=()=>{const a=Joomla.getOptions("js-auto-update");Joomla.enqueueRequest({url:a.ajaxUrl,method:"GET",promise:!0}).then(s=>{const o=s.responseText,t=JSON.parse(o);t?t.active?t.healthy===-1?e("danger",Joomla.Text._("PLG_QUICKICON_AUTOUPDATE_OUTDATED")):t.healthy===0?e("warning",Joomla.Text._("PLG_QUICKICON_AUTOUPDATE_UNAVAILABLE")):e("success",Joomla.Text._("PLG_QUICKICON_AUTOUPDATE_OK")):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 82 releases, Joomla 5.4.0-alpha2 to 6.3.0-alpha1. See them all, or every version of this file.