-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www.apply: fix htmx swap when accept confirmation fails
It's quite unlikely to fail since the modal is only shown when the forms are valid. However: - with the help of some JS (:wave: 71a19fc), - or if the form is submitted at 23:59 with hiring_start_at=today, the modal might be shown but the confirmation might happen the next day returning an error In such case, the htmx swap produced a mess with the complete page inserted inside the modal: let's fix that.
- Loading branch information
1 parent
74b4258
commit 404dd54
Showing
3 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters