Skip to content

Commit

Permalink
Selectmenu: follow-up to "Fix data naming"
Browse files Browse the repository at this point in the history
  • Loading branch information
fnagel committed Oct 25, 2012
1 parent 99aa0ff commit 86f4c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/selectmenu/custom_render.html
Expand Up @@ -16,7 +16,7 @@

$.widget( "custom.iconselectmenu", $.ui.selectmenu, {
_renderItem: function( ul, item ) {
var li = $( "<li />" ).data( "item.selectmenu", item );
var li = $( "<li />" ).data( "ui-selectmenu-item", item );
if ( item.disabled ) {
li.addClass( 'ui-state-disabled' ).text( item.label );
} else {
Expand Down

0 comments on commit 86f4c2f

Please sign in to comment.