From 7e58f7ee74ae6db0a9affbdbb7c31d2d2a47c2de Mon Sep 17 00:00:00 2001 From: Satinder Grewal Date: Tue, 24 Jan 2017 09:43:50 +1300 Subject: [PATCH] reverted some changes --- assets/scripts/kmd_wallet_dashboard.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/scripts/kmd_wallet_dashboard.js b/assets/scripts/kmd_wallet_dashboard.js index 2728946..ea61732 100644 --- a/assets/scripts/kmd_wallet_dashboard.js +++ b/assets/scripts/kmd_wallet_dashboard.js @@ -289,7 +289,7 @@ function RunKMDInitFunctions() { $('#extcoin-wallet').hide(); $('#extcoin-wallet-connection-alert').show(); } - if ( check1[0] == 'connected' ) { + if ( check1[0] == 'connected' || check1[0] == 'activating' ) { getTotalKMDBalance(); KMDfillTxHistoryT(); $('#extcoin-wallet').show(); @@ -1169,12 +1169,12 @@ function CheckIfConnected() { var AjaxOutputData = JSON.parse(data); console.log('== Data OutPut =='); console.log(AjaxOutputData.error); - console.log(AjaxOutputData['error'].message); + //console.log(AjaxOutputData['error'].message); if ( AjaxOutputData.errors != undefined ) { //console.log('connected'); result.push('connected'); - } else if ( AjaxOutputData['error'].message = 'Activating best chain...' ) { - result.push('activating'); + //} else if ( AjaxOutputData['error'].message = 'Activating best chain...' ) { + //result.push('activating'); } else if ( AjaxOutputData.errors == undefined) { result.push('not active'); } else { @@ -1254,8 +1254,8 @@ function KMD_getInfo_rtrn() { if ( AjaxOutputData.errors != undefined ) { //console.log('connected'); result.push(AjaxOutputData); - } else if ( AjaxOutputData['error'].message = 'Activating best chain...' ) { - result.push('activating'); + //} else if ( AjaxOutputData['error'].message = 'Activating best chain...' ) { + //result.push('activating'); } else if ( AjaxOutputData.errors == undefined) { result.push('not active'); } else {