Commit 9af978a
committed
Fix disabling button during file upload
This is to fix an issue that is causing a 500 error when submitting the
Tpic form before a file upload has fully completed. The lines that were
restoring the button state were outside of the promise, so they re-activated
the button too early.1 parent 356a249 commit 9af978a
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | | - | |
48 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments