Commit 0cd8fc3
authored
Block multiple form submits on application form. (#4452)
Fixes #4348
Before this js snippet it was possible on a slow network to post a
application form multiple times by rapidly clicking the submit button
multiple times.
Would be neat to use aplinejs for this everywhere but it interfere with
the current "unlockApplicationForm" feature that we use to block some
spam.1 parent 2fe3f17 commit 0cd8fc3
File tree
2 files changed
+7
-2
lines changed- hypha
- apply/funds/templates/funds
- static_src/javascript
2 files changed
+7
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| |||
0 commit comments