mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for reintializing terms / signature modal
This commit is contained in:
parent
c6a5524979
commit
235b1be53c
4
resources/js/clients/invoices/payment.js
vendored
4
resources/js/clients/invoices/payment.js
vendored
@ -68,6 +68,8 @@ class Payment {
|
||||
}
|
||||
|
||||
submitForm() {
|
||||
this.submitting = true;
|
||||
|
||||
document.getElementById("payment-form").submit();
|
||||
}
|
||||
|
||||
@ -99,8 +101,6 @@ class Payment {
|
||||
element.addEventListener("click", () => {
|
||||
if (!this.submitting) {
|
||||
this.handleMethodSelect(element)
|
||||
|
||||
this.submitting = true;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user