Merge pull request #4352 from gabrielbazan7/fix/ProposalUpdate

fix proposal update
This commit is contained in:
Gustavo Maximiliano Cortez 2016-06-13 10:25:10 -03:00 committed by GitHub
commit 6db5ae1fea

View file

@ -168,7 +168,7 @@ angular.module('copayApp.controllers').controller('txpDetailsController', functi
};
lodash.each(['TxProposalRejectedBy', 'TxProposalAcceptedBy', 'transactionProposalRemoved', 'TxProposalRemoved', 'NewOutgoingTx', 'UpdateTx'], function(eventName) {
$scope.$on(eventName, function() {
$rootScope.$on(eventName, function() {
fc.getTx($scope.tx.id, function(err, tx) {
if (err) {
if (err.message && err.message == 'TX_NOT_FOUND' &&