mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: follow-up to "Fix data naming"
This commit is contained in:
parent
99aa0ff8d1
commit
86f4c2f4ed
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user