forked from hotwired/turbo
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip form{,method}="dialog" when targetting frame (hotwired#388)
Follow-up to hotwired#3 --- When a `<form data-turbo-frame="...">` element is submitted, it's handled by the `Frames/FormInterceptor` class instead of the `FormSubmitObserver` class, which was originally fixed to cover this behavior in [hotwired#3][]. This commit reproduces the fix so that it's consistent across `<form>` elements, regardless of their targetting. [hotwired#3]: hotwired#3
- Loading branch information
1 parent
c4e62f8
commit 9c74f77
Showing
3 changed files
with
32 additions
and
1 deletion.
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