summaryrefslogtreecommitdiffstats
path: root/modules-available/backup
diff options
context:
space:
mode:
authorSimon Rettberg2019-04-16 13:34:59 +0200
committerSimon Rettberg2019-04-16 13:35:19 +0200
commit20928843c45027bd91c097b0267aa507cf82c2ee (patch)
tree61e1ca24af9a277eea88622ddf902a4f4302abdf /modules-available/backup
parent[serversetup-bwlp-ipxe] Show parent menu in location assign dialog (diff)
downloadslx-admin-20928843c45027bd91c097b0267aa507cf82c2ee.tar.gz
slx-admin-20928843c45027bd91c097b0267aa507cf82c2ee.tar.xz
slx-admin-20928843c45027bd91c097b0267aa507cf82c2ee.zip
[backup] Fix restore done message
Diffstat (limited to 'modules-available/backup')
-rw-r--r--modules-available/backup/templates/restore.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/modules-available/backup/templates/restore.html b/modules-available/backup/templates/restore.html
index 5de7d1cc..c9c19d2b 100644
--- a/modules-available/backup/templates/restore.html
+++ b/modules-available/backup/templates/restore.html
@@ -34,11 +34,10 @@
function startRebootPoll()
{
- $('#waiting').show();
- $('#waiting').prepend('<span class="glyphicon glyphicon-refresh slx-rotation"></span>');
+ $('#waiting').show().prepend('<span class="glyphicon glyphicon-refresh slx-rotation"></span>');
$('#dots').text('{{lang_waitReboot}}');
slxDotInterval = setInterval(function() { $('#dots').text($('#dots').text() + '..'); }, 3000);
- setTimeout('rebootPoll()', 10000);
+ setTimeout(rebootPoll, 10000);
}
function rebootPoll()
@@ -48,7 +47,7 @@
slxDotInterval = false;
}
$('#dots').text($('#dots').text() + '..');
- slxTimeoutId = setTimeout('rebootPoll()', 3500);
+ slxTimeoutId = setTimeout(rebootPoll, 3500);
$.ajax({url: "index.php?do=Main", timeout: 3000}).success(function(data, textStatus, jqXHR) {
if (textStatus !== "success" && textStatus !== "notmodified")
return;
@@ -56,7 +55,7 @@
return;
clearTimeout(slxTimeoutId);
setTimeout(function() {
- window.location.replace("index.php?do=Main&message[]=success%7Crestore-done");
+ window.location.replace("index.php?do=Main&message[]=success%7Cbackup.restore-done");
}, 3500);
});
}