fix changing wallet / form reset

This commit is contained in:
Matias Alejo Garcia 2015-04-24 02:42:10 -03:00
commit 67d140e981
6 changed files with 62 additions and 76 deletions

View file

@ -217,10 +217,11 @@ angular.module('copayApp.controllers').controller('indexController', function($r
self.txHistory = [];
}
self.skipHistory = skip || 0;
$log.debug('Updating Transaction History');
self.txHistoryError = false;
self.updatingTxHistory = true;
$timeout(function() {
$log.debug('Updating Transaction History');
self.txHistoryError = false;
self.updatingTxHistory = true;
$rootScope.$apply();
fc.getTxHistory({
skip: self.skipHistory,
limit: self.limitHistory + 1