summaryrefslogtreecommitdiffstats
path: root/templates/backup/restore.html
diff options
context:
space:
mode:
authorSimon Rettberg2015-09-16 10:37:41 +0200
committerSimon Rettberg2015-09-16 10:37:41 +0200
commit66300453b0945c2bf17e3eb3f40ff9e1fdb61d2b (patch)
tree425b894bf3611a1f357630b1e219930f20afd9eb /templates/backup/restore.html
parentUpdate translations (diff)
downloadslx-admin-66300453b0945c2bf17e3eb3f40ff9e1fdb61d2b.tar.gz
slx-admin-66300453b0945c2bf17e3eb3f40ff9e1fdb61d2b.tar.xz
slx-admin-66300453b0945c2bf17e3eb3f40ff9e1fdb61d2b.zip
[backup/restore] Add options to select what to restore
Diffstat (limited to 'templates/backup/restore.html')
-rw-r--r--templates/backup/restore.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/backup/restore.html b/templates/backup/restore.html
index e613bdf4..c5d9ba13 100644
--- a/templates/backup/restore.html
+++ b/templates/backup/restore.html
@@ -51,12 +51,12 @@
$.ajax({url: "index.php?do=Main", timeout: 3000}).success(function(data, textStatus, jqXHR) {
if (textStatus !== "success" && textStatus !== "notmodified")
return;
- if (data.indexOf('Connecting to the local database failed') > -1)
+ if (data.indexOf('Status: DB running') === -1)
return;
clearTimeout(slxTimeoutId);
setTimeout(function() {
window.location.replace("index.php?do=Main&message[]=success%7Crestore-done");
- }, 2000);
+ }, 2500);
});
}
</script>