handle proposal creation

This commit is contained in:
Marty Alcala 2016-10-10 16:04:54 -04:00
commit 324088b5db
3 changed files with 8 additions and 3 deletions

View file

@ -331,7 +331,11 @@ angular.module('copayApp.controllers').controller('confirmController', function(
};
function statusChangeHandler(processName, showName, isOn) {
if(processName === 'broadcastingTx' && !isOn) {
console.log('in statusChangeHandler', processName, showName, isOn);
console.log('$scope.wallet', $scope.wallet);
if(
(processName === 'broadcastingTx' ||
((processName === 'signingTx') && $scope.wallet.m > 1)) && !isOn) {
$scope.sendStatus = 'success';
$scope.$digest();
} else if(showName) {