Merge pull request #3079 from cmgustavo/feat/spend-unconfirm-01

Display if has unconfirmed inputs
This commit is contained in:
Matias Alejo Garcia 2015-08-12 15:49:36 -03:00
commit 778fce1688
3 changed files with 7 additions and 6 deletions

View file

@ -167,6 +167,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
this.openTxpModal = function(tx, copayers) {
var fc = profileService.focusedClient;
var refreshUntilItChanges = false;
var currentSpendUnconfirmed = $scope.currentSpendUnconfirmed;
var ModalInstanceCtrl = function($scope, $modalInstance) {
$scope.error = null;
$scope.tx = tx;
@ -179,6 +180,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
$scope.loading = null;
$scope.color = fc.backgroundColor;
refreshUntilItChanges = false;
$scope.currentSpendUnconfirmed = currentSpendUnconfirmed;
$scope.getShortNetworkName = function() {
return fc.credentials.networkName.substring(0, 4);