Merge pull request #4897 from JDonadio/fix/warning-confirm

Fix warning message on confirm view
This commit is contained in:
Gustavo Maximiliano Cortez 2016-10-26 14:30:15 -03:00 committed by GitHub
commit 88d84eca06
1 changed files with 4 additions and 1 deletions

View File

@ -91,6 +91,9 @@ angular.module('copayApp.controllers').controller('confirmController', function(
$scope.insuffientFunds = true; $scope.insuffientFunds = true;
$log.warn('No wallet available to make the payment'); $log.warn('No wallet available to make the payment');
$timeout(function() {
$scope.$apply();
});
} }
} }
}); });
@ -102,7 +105,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
$timeout(function() { $timeout(function() {
$scope.$apply(); $scope.$apply();
}, 100); });
}; };
$scope.$on('accepted', function(event) { $scope.$on('accepted', function(event) {