Skip to content

Commit eaa1b9c

Browse files
committed
[fix] Wallet list : balance is always in relative unit - fix #725
1 parent 6eb46c9 commit eaa1b9c

File tree

10 files changed

+536
-529
lines changed

10 files changed

+536
-529
lines changed

www/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ <h4 style="text-align: center;"><i class="icon ion-load-a"></i></h4>
157157
<script src="dist/dist_js/app/controllers/login-controllers.js"></script>
158158
<script src="dist/dist_js/app/controllers/help-controllers.js"></script>
159159
<script src="dist/dist_js/app/controllers/wallet-controllers.js"></script>
160+
<script src="dist/dist_js/app/controllers/wallets-controllers.js"></script>
160161
<script src="dist/dist_js/app/controllers/wot-controllers.js"></script>
161162
<script src="dist/dist_js/app/controllers/network-controllers.js"></script>
162163
<script src="dist/dist_js/app/controllers/currency-controllers.js"></script>

www/js/controllers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ angular.module('cesium.controllers', [
55
'cesium.login.controllers',
66
'cesium.help.controllers',
77
'cesium.wallet.controllers',
8+
'cesium.wallets.controllers',
89
'cesium.currency.controllers',
910
'cesium.wot.controllers',
1011
'cesium.transfer.controllers',

www/js/controllers/transfer-controllers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function TransferModalController($scope, $q, $translate, $timeout, $filter, $foc
164164

165165
wallet = $scope.enableSelectWallet && ($scope.formData.walletId ? csWallet.children.get($scope.formData.walletId) : csWallet) || csWallet;
166166
if (!wallet.isDefault()) {
167-
console.debug("[transfer] Using {" + wallet.id + "} wallet");
167+
console.debug("[transfer] Using wallet {" + wallet.id + "}");
168168
}
169169
// Make to sure to load full wallet data (balance)
170170
return wallet.login({sources: true, silent: true})
@@ -413,7 +413,7 @@ function TransferModalController($scope, $q, $translate, $timeout, $filter, $foc
413413
if (!newWallet || (wallet && wallet.id === newWallet.id)) return;
414414
wallet = newWallet;
415415
$scope.walletData = wallet.data;
416-
console.debug("[transfer] Using {" + wallet.id + "} wallet");
416+
console.debug("[transfer] Using wallet {" + wallet.id + "}");
417417
$scope.onAmountChanged();
418418
});
419419
};

0 commit comments

Comments
 (0)