Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent double-clicking from submitting forms multiple times
Some users double-click form buttons rather than single clicking as expected and on some forms in some browsers, this can cause double updates. For example, double clicking on a ticket comment/reply can post the response twice. Other forms such as searches might just run the search twice, using extra server resources needlessly. Allow all forms to be submitted only once by adding a CSS class as a flag to indicate the form has been submitted.
- Loading branch information