Avoid flickering on Send form

This commit is contained in:
Matias Pando 2015-04-28 12:06:04 -03:00
commit 747257a5ee
2 changed files with 24 additions and 10 deletions

View file

@ -328,6 +328,19 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
};
// Send
this.canShowAlternative = function() {
return $scope.showAlternative;
};
this.showAlternative = function() {
$scope.showAlternative = true;
};
this.hideAlternative = function() {
$scope.showAlternative = false;
};
this.resetError = function() {
this.error = this.success = null;
};