Selectmenu: follow-up to "Fix data naming"

This commit is contained in:
Felix Nagel 2012-10-25 20:29:24 +02:00
parent 99aa0ff8d1
commit 86f4c2f4ed

View File

@ -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 {