fix emit call

This commit is contained in:
Javier 2015-10-30 12:55:41 -03:00
commit f65e971cf4
2 changed files with 5 additions and 8 deletions

View file

@ -98,8 +98,9 @@ angular.module('copayApp.controllers').controller('preferencesInformation',
storageService.removeTxHistory(c.walletId, function(err) {
if (err) return $log.err(err);
$scope.$emit('Local/ClearHistory');
$timeout(function() {
$scope.$emit('Local/ClearHistory');
go.walletHome();
}, 100);
});