diff options
Diffstat (limited to 'templates/backup/restore.html')
-rw-r--r-- | templates/backup/restore.html | 4 |
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> |