From 66300453b0945c2bf17e3eb3f40ff9e1fdb61d2b Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 16 Sep 2015 10:37:41 +0200 Subject: [backup/restore] Add options to select what to restore --- templates/backup/restore.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/backup/restore.html') 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); }); } -- cgit v1.2.3-55-g7522