Permalink
Browse files

Checkboxradio: Remove fieldset from being a form

owner so that radios in different fieldsets are properly associated. Fixes: #5366 - Enhanced radio buttons stay checked when others in group are clicked
  • Loading branch information...
1 parent c6563da commit 5b8d80683229c8c1befb346b74fb91ff2e513f70 @arschmitz arschmitz committed Dec 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/forms/checkboxradio.js
@@ -154,7 +154,7 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, {
return this.element;
}
- return this.element.closest( "form, fieldset, :jqmData(role='page'), :jqmData(role='dialog')" )
+ return this.element.closest( "form, :jqmData(role='page'), :jqmData(role='dialog')" )
.find( "input[name='" + this.element[0].name + "'][type='" + this.inputtype + "']" );
},

0 comments on commit 5b8d806

Please sign in to comment.