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() {
|
submitForm() {
|
||||||
|
this.submitting = true;
|
||||||
|
|
||||||
document.getElementById("payment-form").submit();
|
document.getElementById("payment-form").submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -99,8 +101,6 @@ class Payment {
|
|||||||
element.addEventListener("click", () => {
|
element.addEventListener("click", () => {
|
||||||
if (!this.submitting) {
|
if (!this.submitting) {
|
||||||
this.handleMethodSelect(element)
|
this.handleMethodSelect(element)
|
||||||
|
|
||||||
this.submitting = true;
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user