mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-13 07:53:16 +00:00
Fix JS in installer.
This commit is contained in:
6
public/js/ff/install/index.js
vendored
6
public/js/ff/install/index.js
vendored
@@ -45,7 +45,7 @@ function startMigration() {
|
|||||||
*/
|
*/
|
||||||
function startPassport() {
|
function startPassport() {
|
||||||
$('#status-box').html('<i class="fa fa-spin fa-spinner"></i> Setting up OAuth2...');
|
$('#status-box').html('<i class="fa fa-spin fa-spinner"></i> Setting up OAuth2...');
|
||||||
$.post(keysUri, {_token: token}).done(function () {
|
$.post(keysUri, {_token: token}).done(function (data) {
|
||||||
if(data.error === false) {
|
if(data.error === false) {
|
||||||
startUpgrade();
|
startUpgrade();
|
||||||
} else {
|
} else {
|
||||||
@@ -62,7 +62,7 @@ function startPassport() {
|
|||||||
*/
|
*/
|
||||||
function startUpgrade() {
|
function startUpgrade() {
|
||||||
$('#status-box').html('<i class="fa fa-spin fa-spinner"></i> Upgrading database...');
|
$('#status-box').html('<i class="fa fa-spin fa-spinner"></i> Upgrading database...');
|
||||||
$.post(upgradeUri, {_token: token}).done(function () {
|
$.post(upgradeUri, {_token: token}).done(function (data) {
|
||||||
if(data.error === false) {
|
if(data.error === false) {
|
||||||
startVerify();
|
startVerify();
|
||||||
} else {
|
} else {
|
||||||
@@ -78,7 +78,7 @@ function startUpgrade() {
|
|||||||
*/
|
*/
|
||||||
function startVerify() {
|
function startVerify() {
|
||||||
$('#status-box').html('<i class="fa fa-spin fa-spinner"></i> Verify database integrity...');
|
$('#status-box').html('<i class="fa fa-spin fa-spinner"></i> Verify database integrity...');
|
||||||
$.post(verifyUri, {_token: token}).done(function () {
|
$.post(verifyUri, {_token: token}).done(function (data) {
|
||||||
if(data.error === false) {
|
if(data.error === false) {
|
||||||
completeDone();
|
completeDone();
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user