Navigation Menu

Skip to content

Commit

Permalink
Edited ui/jquery.ui.selectmenu.js via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
netson committed Jul 24, 2011
1 parent e519c34 commit d35924e
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions ui/jquery.ui.selectmenu.js
Expand Up @@ -248,15 +248,16 @@ $.widget("ui.selectmenu", {
this.element
.find('option')
.each(function() {
var opt = $(this);
selectOptionData.push({
value: $(this).attr('value'),
value: opt.attr('value'),
text: self._formatText($(this).text()),
selected: $(this).attr('selected'),
disabled: $(this).attr('disabled'),
classes: $(this).attr('class'),
typeahead: $(this).attr('typeahead'),
parentOptGroup: $(this).parent('optgroup'),
bgImage: o.bgImage.call($(this))
selected: opt.attr('selected'),
disabled: opt.attr('disabled'),
classes: opt.attr('class'),
typeahead: opt.attr('typeahead'),
parentOptGroup: opt.parent('optgroup'),
bgImage: o.bgImage.call(opt)
});
});

Expand Down Expand Up @@ -800,4 +801,4 @@ $.widget("ui.selectmenu", {
}
});

})(jQuery);
})(jQuery);

0 comments on commit d35924e

Please sign in to comment.