aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.autocomplete.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-03-01 14:40:23 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-03-01 14:40:23 +0100
commitd901cd416069c153fba627ee9ec6daad2a4f67aa (patch)
treeb694f3cc39893e2b0f84fac225b4b45da2757d0d /ui/jquery.ui.autocomplete.js
parent1b80154832611f8f440f4559c429fbdc4e773177 (diff)
downloadjquery-ui-d901cd416069c153fba627ee9ec6daad2a4f67aa.tar.gz
jquery-ui-d901cd416069c153fba627ee9ec6daad2a4f67aa.zip
Autocomplete: Add removal TODOs for #7810
Diffstat (limited to 'ui/jquery.ui.autocomplete.js')
-rw-r--r--ui/jquery.ui.autocomplete.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js
index 83326e27f..05a2a28f2 100644
--- a/ui/jquery.ui.autocomplete.js
+++ b/ui/jquery.ui.autocomplete.js
@@ -225,7 +225,8 @@ $.widget( "ui.autocomplete", {
// custom key handling for now
input: $(),
focus: function( event, ui ) {
- // back compat for _renderItem using item.autocomplete
+ // back compat for _renderItem using item.autocomplete, via #7810
+ // TODO remove the fallback, see #8156
var item = ui.item.data( "ui-autocomplete-item" ) || ui.item.data( "item.autocomplete" );
if ( false !== self._trigger( "focus", event, { item: item } ) ) {
// use value to match what will end up in the input, if it was a key event
@@ -235,7 +236,8 @@ $.widget( "ui.autocomplete", {
}
},
select: function( event, ui ) {
- // back compat for _renderItem using item.autocomplete
+ // back compat for _renderItem using item.autocomplete, via #7810
+ // TODO remove the fallback, see #8156
var item = ui.item.data( "ui-autocomplete-item" ) || ui.item.data( "item.autocomplete" );
previous = self.previous;