aboutsummaryrefslogtreecommitdiffstats
path: root/demos/selectmenu
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-04-29 23:05:07 +0200
committerFelix Nagel <info@felixnagel.com>2013-04-29 23:05:07 +0200
commit666927ba916d3f3f90e48677e4884ffd0d7cc398 (patch)
tree793fbec2a5077e4ecfbecc80e8adacbe0da54a99 /demos/selectmenu
parentd4f13bc213ae4c966ad8f512132fdb0c6647b7ee (diff)
downloadjquery-ui-666927ba916d3f3f90e48677e4884ffd0d7cc398.tar.gz
jquery-ui-666927ba916d3f3f90e48677e4884ffd0d7cc398.zip
Selectmenu: add renderItemData method similar to autocomplete
Diffstat (limited to 'demos/selectmenu')
-rw-r--r--demos/selectmenu/custom_render.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/selectmenu/custom_render.html b/demos/selectmenu/custom_render.html
index 09e6811f0..03f873d19 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 element, span,
- li = $( "<li>" ).data( "ui-selectmenu-item", item );
+ li = $( "<li>" );
if ( item.disabled ) {
li.addClass( "ui-state-disabled" ).text( item.label );