This commit is contained in:
Gabriel Bazán 2016-09-02 09:54:47 -03:00
commit 33ba69cfec
2 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@ angular.module('copayApp.controllers').controller('preferencesEmailController',
var walletId = wallet.credentials.walletId;
var config = configService.getSync();
config.amailFor = config.amailFor || {};
config.emailFor = config.emailFor || {};
$scope.email = config.emailFor && config.emailFor[walletId];
$scope.save = function(form) {

View file

@ -117,7 +117,7 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
walletService.recreate();
};
$scope.updateTxHistory = function() {
$scope.updateTxHistory = function(cb) {
if ($scope.updatingTxHistory) return;
@ -152,7 +152,7 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
$timeout(function() {
$scope.$apply();
}, 1);
return;
return cb();
});
});
};
@ -172,7 +172,7 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
$scope.updateAll = function(cb)  {
$scope.updateStatus(false);
$scope.updateTxHistory();
$scope.updateTxHistory(cb);
}
$scope.hideToggle = function() {