mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 14:14:31 -04:00
Fix for Braintree
This commit is contained in:
parent
4dfd720138
commit
4cbed2e1c5
@ -57,11 +57,6 @@
|
||||
}
|
||||
},
|
||||
onPaymentMethodReceived: function(e) {
|
||||
if (NINJA.formIsSubmitted) {
|
||||
return false;
|
||||
}
|
||||
NINJA.formIsSubmitted = true;
|
||||
|
||||
// Disable the submit button to prevent repeated clicks
|
||||
$form.find('button').prop('disabled', true);
|
||||
$('#js-error-message').hide();
|
||||
|
Loading…
x
Reference in New Issue
Block a user