mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for Braintree duplicate submission check
This commit is contained in:
parent
0b998487d7
commit
5e8682be0a
@ -58,7 +58,6 @@
|
|||||||
},
|
},
|
||||||
onPaymentMethodReceived: function(e) {
|
onPaymentMethodReceived: function(e) {
|
||||||
if (NINJA.formIsSubmitted) {
|
if (NINJA.formIsSubmitted) {
|
||||||
event.preventDefault();
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
NINJA.formIsSubmitted = true;
|
NINJA.formIsSubmitted = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user