aboutsummaryrefslogtreecommitdiffstats
path: root/demos/autocomplete
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-10-25 06:47:19 -0400
committerScott González <scott.gonzalez@gmail.com>2012-10-25 06:47:19 -0400
commit9202bb7df57b159003f6a0659cbe9359fdeb8196 (patch)
tree56fae5ac0b5add19399ae2ec7146649493e49f71 /demos/autocomplete
parent2582bfab46613da613f1a3354bc733b68a110b95 (diff)
downloadjquery-ui-9202bb7df57b159003f6a0659cbe9359fdeb8196.tar.gz
jquery-ui-9202bb7df57b159003f6a0659cbe9359fdeb8196.zip
Autocomplete: Removed data fallback for item.autocomplete. Fixes #8156 - Autocomplete: Remove data fallbacks.
Diffstat (limited to 'demos/autocomplete')
-rw-r--r--demos/autocomplete/combobox.html1
-rw-r--r--demos/autocomplete/custom-data.html1
2 files changed, 0 insertions, 2 deletions
diff --git a/demos/autocomplete/combobox.html b/demos/autocomplete/combobox.html
index cc43f4527..c8270c2d8 100644
--- a/demos/autocomplete/combobox.html
+++ b/demos/autocomplete/combobox.html
@@ -111,7 +111,6 @@
input.data( "autocomplete" )._renderItem = function( ul, item ) {
return $( "<li>" )
- .data( "item.autocomplete", item )
.append( "<a>" + item.label + "</a>" )
.appendTo( ul );
};
diff --git a/demos/autocomplete/custom-data.html b/demos/autocomplete/custom-data.html
index 1e64df047..df191b899 100644
--- a/demos/autocomplete/custom-data.html
+++ b/demos/autocomplete/custom-data.html
@@ -68,7 +68,6 @@
})
.data( "autocomplete" )._renderItem = function( ul, item ) {
return $( "<li>" )
- .data( "item.autocomplete", item )
.append( "<a>" + item.label + "<br>" + item.desc + "</a>" )
.appendTo( ul );
};