Merge pull request #196 from matiu/feature/encryption

Feature/encryption
This commit is contained in:
Mario Colque 2014-04-28 09:22:32 -03:00
commit 380014a280
5 changed files with 58 additions and 31 deletions

View file

@ -6,6 +6,9 @@ angular.module('copay.transactions').controller('TransactionsController',
$scope.title = 'Transactions';
$scope.loading = false;
var _updateTxs = function() {
var w =$rootScope.wallet;
if (!w) return;
@ -99,4 +102,13 @@ angular.module('copay.transactions').controller('TransactionsController',
};
_updateTxs();
var w = $rootScope.wallet;
if (w) {
w.on('txProposalsUpdated', function() {
console.log('[transactions.js.108: txProposalsUpdated:]'); //TODO
_updateTxs();
$rootScope.$digest();
});
}
});