Merge pull request #4675 from cmgustavo/bug/calc-disable-paypro

Calculator: Fix paypro. disable input
This commit is contained in:
Gustavo Maximiliano Cortez 2016-08-10 17:18:54 -03:00 committed by GitHub
commit 8460eede78
2 changed files with 10 additions and 5 deletions

View file

@ -620,7 +620,8 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
form.amount.$setViewValue("" + amount);
form.amount.$isValid = true;
form.amount.$render();
this.lockAmount = true;
if (!this.fromInputAmount)
this.lockAmount = true;
this.fromInputAmount = false;
}