Commit 78b6ba9
committed
fix: execute addThresholdTemplate POST directly instead of binding click
The function was called via inline onClick, but it just bound another
click handler - which never fired because the click event had already
completed. Execute the POST directly in the function.
Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>1 parent cabb181 commit 78b6ba9
1 file changed
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1503 | 1503 | | |
1504 | 1504 | | |
1505 | 1505 | | |
1506 | | - | |
1507 | | - | |
1508 | | - | |
1509 | | - | |
1510 | | - | |
1511 | | - | |
1512 | | - | |
1513 | | - | |
1514 | | - | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
1515 | 1513 | | |
1516 | 1514 | | |
1517 | 1515 | | |
| |||
0 commit comments