+ [task#116512] Add the function to check upgrade in progress.

This commit is contained in:
dingguodong
2024-06-14 02:23:29 +00:00
committed by 李阳
parent ab3efd8486
commit f88eb7e0f0
+20
View File
@@ -171,3 +171,23 @@ window.deleteInProcess = function(backupName)
}, 2000);
}
window.upgradeInProgress= function()
{
if(!inQuickon) return false;
loadTable();
let intervalId = setInterval(function()
{
$.get($.createLink('system', 'ajaxGetUpgradeProgress'), function(resp)
{
if(resp.result == 'success')
{
loadCurrentPage();
clearInterval(intervalId);
}
}, 'json');
}, 2000);
}