android fix

This commit is contained in:
Matias Alejo Garcia 2015-04-28 17:19:22 -03:00
commit 952c13e424

View file

@ -483,11 +483,11 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
window.plugins.spinnerDialog.hide(); window.plugins.spinnerDialog.hide();
} }
} else { } else {
$timeout(function() { self.onGoingProcess = name;
self.onGoingProcess = name; };
$rootScope.$apply(); $timeout(function() {
}); $rootScope.$apply();
} });
}; };
this.submitForm = function() { this.submitForm = function() {
@ -562,15 +562,15 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
$scope.$digest(); $scope.$digest();
return; return;
} }
$scope.$emit('Local/TxProposalAction');
self.setOngoingProcess(); self.setOngoingProcess();
$scope.$emit('Local/TxProposalAction');
txStatus.notify(btx, function() { txStatus.notify(btx, function() {
return cb(); return cb();
}); });
}); });
} else { } else {
$scope.$emit('Local/TxProposalAction');
self.setOngoingProcess(); self.setOngoingProcess();
$scope.$emit('Local/TxProposalAction');
txStatus.notify(signedTx, function() { txStatus.notify(signedTx, function() {
return cb(); return cb();
}); });