Merge pull request #301 from maraoz/fix/refresh

fix refresh button
This commit is contained in:
Matias Alejo Garcia 2014-05-06 16:31:32 -03:00
commit 67a52e9911
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ angular.module('copay.header').controller('HeaderController',
};
$scope.refresh = function() {
var w = $rootScope.wallet;
controllerUtils.updateBalance(function() {
w.connectToAll();
$rootScope.$digest();