Werbeaktionen

Neue Produkte

Dieses Modul oder diese Version ist nicht mehr verfügbar. Möglicherweise wurde es vom Autor eingestellt oder durch ein anderes Modul oder eine andere Version ersetzt.
Letzter Grund für die Deaktivierung : Descriptive images illustrating the module’s functionality are missing.

AntiDoubleClick

mp23357d20260825090801

Neu

Stops duplicate records created by a double click: once a form is submitted or an action button clicked, further clicks are ignored until the page reloads. No more duplicated orders, invoices lines or emails.

  • Autor Nicolas Zaoui
  • Modulversion 0.1.1
  • Veröffentlichungsdatum 25.08.2026
  • Zugriff auf Updates und Downloads 2 Jahre
  • So kontaktieren Sie den Support nz@anatoleconseil.com
  • Kompatibilität Dolibarr V19+   -   PHP>= 7.4
  • Letztes Update 06.09.2026 16:03

Mehr Infos...

AntiDoubleClick

A user double-clicks "Create" and you end up with two orders. Someone double-clicks "Add line" and the invoice gets the same line twice. A nervous click on "Send" and the customer receives the email twice. Dolibarr has no built-in protection against this (see upstream issue #25902) — this module fixes it once and for all, on every screen.

How it works

  • Forms — after the first submit, the form is locked and its submit buttons are disabled: any further click or Enter key is ignored until the page reloads.
  • Action buttons — link-style action buttons (Validate, Clone, Delete…) are locked after the first click, with a visual feedback (button greyed out).
  • Safety timeout — if the page does not reload (PDF/Excel export in a new tab, submit refused by a JS validation…), the lock is automatically released after a configurable delay (4 s by default).

Designed for Dolibarr

  • 100% client-side: no core file modified, no PHP action, no database table. Enable the module and it works everywhere, including inside popups and confirmation dialogs.
  • Careful implementation: buttons are disabled after the request is on its way, so the button name still reaches the server and the Dolibarr action fires normally.
  • Compatible with all standard and custom modules screens.

Configuration

  • Protect forms: on/off
  • Protect action buttons: on/off
  • Safety timeout (ms)
  • Debug traces in the browser console
  • Exclude any specific form or link by giving it the CSS class antidoubleclick-ignore

Requirements

  • Dolibarr 19.0 or higher (tested up to V23)
  • PHP 7.4 or higher, JavaScript enabled

License

GPL v3 or later.




If you think this module is a fork of another one (published after the first one) or violates some terms or conditions of use (for users or vendors), you can make a report at dolistore@dolibarr.org