* [task#116512,doing,0.1h] adjust str replace for backup js.

This commit is contained in:
caoyanyi
2024-06-12 10:20:50 +08:00
parent 5a73846dd9
commit 9bfdec6225
+1 -1
View File
@@ -134,7 +134,7 @@ window.restoreInProcess = function(backupName)
if(!inQuickon) return false;
let intervalId = setInterval(function()
{
$.get($.createLink('system', 'ajaxGetRestoreProgress', 'backupName=' + backupName.replace('-', '_')), function(resp)
$.get($.createLink('system', 'ajaxGetRestoreProgress', 'backupName=' + backupName.replace(/-/g, '_')), function(resp)
{
if(resp.status == 'completed')
{