fix address generation

This commit is contained in:
Manuel Araoz 2014-05-09 16:02:27 -03:00
parent af628dde9b
commit 4bfaf05930
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,9 @@ angular.module('copay.addresses').controller('AddressesController',
$scope.newAddr = function() {
$scope.loading = true;
w.generateAddress();
controllerUtils.updateBalance(function() {
$scope.loading = false;
});
};
$scope.selectAddr = function(addr) {

View File

@ -79,7 +79,6 @@ angular.module('copay.controllerUtils')
$rootScope.$digest();
});
w.on('refresh', function() {
alert('refresh');
root.updateBalance();
$rootScope.$digest();
});