File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,8 @@ $.widget( "ui.autocomplete", {
225
225
// custom key handling for now
226
226
input : $ ( ) ,
227
227
focus : function ( event , ui ) {
228
- // back compat for _renderItem using item.autocomplete
228
+ // back compat for _renderItem using item.autocomplete, via #7810
229
+ // TODO remove the fallback, see #8156
229
230
var item = ui . item . data ( "ui-autocomplete-item" ) || ui . item . data ( "item.autocomplete" ) ;
230
231
if ( false !== self . _trigger ( "focus" , event , { item : item } ) ) {
231
232
// use value to match what will end up in the input, if it was a key event
@@ -235,7 +236,8 @@ $.widget( "ui.autocomplete", {
235
236
}
236
237
} ,
237
238
select : function ( event , ui ) {
238
- // back compat for _renderItem using item.autocomplete
239
+ // back compat for _renderItem using item.autocomplete, via #7810
240
+ // TODO remove the fallback, see #8156
239
241
var item = ui . item . data ( "ui-autocomplete-item" ) || ui . item . data ( "item.autocomplete" ) ;
240
242
previous = self . previous ;
241
243
You can’t perform that action at this time.
0 commit comments