paypro: support user amount decision on 0-value-server-outputs.
This commit is contained in:
parent
f20836a24c
commit
d87697dfed
3 changed files with 39 additions and 1 deletions
|
|
@ -61,7 +61,9 @@ angular.module('copayApp.directives')
|
|||
var amount = angular.element(
|
||||
document.querySelector('input#amount'));
|
||||
amount.val(total);
|
||||
amount.attr('disabled', true);
|
||||
if (+merchantData.total !== 0) {
|
||||
amount.attr('disabled', true);
|
||||
}
|
||||
|
||||
var sendto = angular.element(document
|
||||
.querySelector('div.send-note > p[ng-class]:first-of-type'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue