Browse Source

bug fix: going back to wallet menu auto clicks/opens last wallet in sidebar

master
Satinder Grewal 8 years ago
parent
commit
ba5606662c
  1. 2
      assets/scripts/dashboard.js
  2. 6
      assets/scripts/sidebar.js

2
assets/scripts/dashboard.js

@ -1138,7 +1138,7 @@ function getDEXGetBalance_cache(coin) {
console.log(result)
console.log(result.coin)
if (result.coin == false || result.addresses == false) {
var call_data = {"allcoins": false,"coin":coin,"calls":"listunspent:listtransactions:getbalance"}
var call_data = {"allcoins": false,"coin":coin,"calls":"listtransactions:getbalance"}
console.log(call_data)
} else if (result.getbalance == false || result.listtransactions == false) {
var call_data = {"allcoins": false,"coin":coin,"calls":"getbalance:listtransactions"}

6
assets/scripts/sidebar.js

@ -299,7 +299,11 @@ function applyDashboardStyle() {
}
setTimeout(function() {
$('.page-aside .wallet-widgets-list .list-group .list-group-item a').click();
var active_edexcoin = $('[data-edexcoin]').attr('data-edexcoin');
console.log(active_edexcoin)
if (active_edexcoin == 'COIN') {
$('.page-aside .wallet-widgets-list .list-group .list-group-item a').click();
}
}, 1000);
}

Loading…
Cancel
Save