From 6583d0f69bf1d684b629593ef0b996b9fbfbe451 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 7 Apr 2018 05:30:29 +0200 Subject: [PATCH] Fix JS in installer. --- public/js/ff/install/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/js/ff/install/index.js b/public/js/ff/install/index.js index dca7ec945e..d42eb1f647 100644 --- a/public/js/ff/install/index.js +++ b/public/js/ff/install/index.js @@ -45,7 +45,7 @@ function startMigration() { */ function startPassport() { $('#status-box').html(' Setting up OAuth2...'); - $.post(keysUri, {_token: token}).done(function () { + $.post(keysUri, {_token: token}).done(function (data) { if(data.error === false) { startUpgrade(); } else { @@ -62,7 +62,7 @@ function startPassport() { */ function startUpgrade() { $('#status-box').html(' Upgrading database...'); - $.post(upgradeUri, {_token: token}).done(function () { + $.post(upgradeUri, {_token: token}).done(function (data) { if(data.error === false) { startVerify(); } else { @@ -78,7 +78,7 @@ function startUpgrade() { */ function startVerify() { $('#status-box').html(' Verify database integrity...'); - $.post(verifyUri, {_token: token}).done(function () { + $.post(verifyUri, {_token: token}).done(function (data) { if(data.error === false) { completeDone(); } else {