mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Update payment method form submission delay
This commit is contained in:
parent
ee58b4c0cc
commit
fb917e8496
@ -14,6 +14,10 @@
|
||||
document.getElementById('payment_method_id').value = paymentMethodId;
|
||||
}
|
||||
|
||||
Livewire.on('beforePaymentEventsCompleted', () => document.getElementById('payment-method-form').submit());
|
||||
Livewire.on('beforePaymentEventsCompleted', () => {
|
||||
setTimeout(() => {
|
||||
document.getElementById('payment-method-form').submit()
|
||||
}, 2500);
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
Loading…
x
Reference in New Issue
Block a user