paypro: more cleaning up of form.
This commit is contained in:
parent
3b550d853f
commit
4dd725aa48
2 changed files with 12 additions and 1 deletions
|
|
@ -86,13 +86,16 @@ angular.module('copayApp.directives')
|
|||
if (amount.attr('disabled') === true) {
|
||||
amount.attr('disabled', false);
|
||||
}
|
||||
if (amount.attr('disabled') === false) {
|
||||
if (submit.attr('disabled') === false) {
|
||||
submit.attr('disabled', true);
|
||||
}
|
||||
sendto.html(sendto.html().replace(/<br><b>Server:.*$/, ''));
|
||||
if (!/hidden/.test(tamount.attr('class'))) {
|
||||
tamount.attr(tamount.attr('class') + ' hidden');
|
||||
}
|
||||
if (~tamount.html().indexOf('(CA: ')) {
|
||||
tamount.html('');
|
||||
}
|
||||
if (submit.attr('disabled') === false) {
|
||||
submit.attr('disabled', true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue