Skip to content
Permalink
Browse files

Button: quote the value when searching for attributes.

Fixes #5262 - Buttonset not working on inputs with Arrays in name Attribute.

Thanks Zidane.
  • Loading branch information...
scottgonzalez committed Mar 4, 2010
1 parent 301eb30 commit b636ad6997941ab6a1891fb90454096285adc1e1
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/jquery.ui.button.js
@@ -89,9 +89,9 @@ $.widget( "ui.button", {
radios;
if ( name ) {
if ( form ) {
radios = $( form ).find( "[name=" + name + "]" );
radios = $( form ).find( "[name='" + name + "']" );
} else {
radios = $( "[name=" + name + "]", radio.ownerDocument )
radios = $( "[name='" + name + "']", radio.ownerDocument )
.filter(function() {
return !this.form;
});

0 comments on commit b636ad6

Please sign in to comment.
You can’t perform that action at this time.