Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Form: Rename from
.form()
to ._form()
since its not for public use
Fixes #15074 Closes gh-1760
- Loading branch information
1 parent
87eab46
commit 0627eb3645009d868ae20a27d0a283acd5797a1f
Showing
4 changed files
with
4 additions
and
4 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
@@ -42,7 +42,7 @@ return $.ui.formResetMixin = { | ||
}, | ||
|
||
_bindFormResetHandler: function() { | ||
this.form = this.element.form(); | ||
this.form = this.element._form(); | ||
if ( !this.form.length ) { | ||
return; | ||
} | ||
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