diff options
Diffstat (limited to 'ui/widgets/checkboxradio.js')
-rw-r--r-- | ui/widgets/checkboxradio.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/widgets/checkboxradio.js b/ui/widgets/checkboxradio.js index add80d80a..fc812116e 100644 --- a/ui/widgets/checkboxradio.js +++ b/ui/widgets/checkboxradio.js @@ -168,7 +168,7 @@ $.widget( "ui.checkboxradio", [ $.ui.formResetMixin, { // Not inside a form, check all inputs that also are not inside a form group = $( nameSelector ).filter( function() { - return $( this )._form().length === 0; + return $( $( this ).prop( "form" ) ).length === 0; } ); } |