Fix update txp modals after sign, reject or broadcast

This commit is contained in:
Gustavo Maximiliano Cortez 2015-04-16 12:14:23 -03:00
commit 3e5f7d0a7b
2 changed files with 10 additions and 16 deletions

View file

@ -27,6 +27,8 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
var ModalInstanceCtrl = function($scope, $modalInstance) {
$scope.error = null;
$scope.tx = tx;
$scope.amountStr = tx.amountStr;
$scope.alternativeAmountStr = tx.alternativeAmountStr;
$scope.copayers = copayers
$scope.loading = null;
$scope.color = fc.backgroundColor;
@ -191,7 +193,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
};
$scope.cancel = function() {
$modalInstance.dismiss('cancel');
$modalInstance.close();
};
};