From 86f4c2f4ed9adf83c586a72aa0716534f5d9e9fa Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Thu, 25 Oct 2012 20:29:24 +0200 Subject: Selectmenu: follow-up to "Fix data naming" --- demos/selectmenu/custom_render.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos') diff --git a/demos/selectmenu/custom_render.html b/demos/selectmenu/custom_render.html index f1608cf3c..8ce8a4027 100644 --- a/demos/selectmenu/custom_render.html +++ b/demos/selectmenu/custom_render.html @@ -16,7 +16,7 @@ $.widget( "custom.iconselectmenu", $.ui.selectmenu, { _renderItem: function( ul, item ) { - var li = $( "
  • " ).data( "item.selectmenu", item ); + var li = $( "
  • " ).data( "ui-selectmenu-item", item ); if ( item.disabled ) { li.addClass( 'ui-state-disabled' ).text( item.label ); } else { -- cgit v1.2.3