Merge pull request #19546 from javieralapps4up/develop

FIX When you pay an invoice, you can send the payment multiple times.
This commit is contained in:
Laurent Destailleur 2021-12-08 16:31:40 +01:00 committed by GitHub
commit 449cbcdf46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5042,7 +5042,7 @@ class Form
} }
$formconfirm .= '<br>'; $formconfirm .= '<br>';
if (empty($conf->use_javascript_ajax)) { if (!empty($conf->use_javascript_ajax)) {
$formconfirm .= '<!-- code to disable button to avoid double clic -->'; $formconfirm .= '<!-- code to disable button to avoid double clic -->';
$formconfirm .= '<script type="text/javascript">'."\n"; $formconfirm .= '<script type="text/javascript">'."\n";
$formconfirm .= ' $formconfirm .= '