File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,8 @@ $.widget( "ui.autocomplete", {
225225 // custom key handling for now
226226 input : $ ( ) ,
227227 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
229230 var item = ui . item . data ( "ui-autocomplete-item" ) || ui . item . data ( "item.autocomplete" ) ;
230231 if ( false !== self . _trigger ( "focus" , event , { item : item } ) ) {
231232 // use value to match what will end up in the input, if it was a key event
@@ -235,7 +236,8 @@ $.widget( "ui.autocomplete", {
235236 }
236237 } ,
237238 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
239241 var item = ui . item . data ( "ui-autocomplete-item" ) || ui . item . data ( "item.autocomplete" ) ;
240242 previous = self . previous ;
241243
You can’t perform that action at this time.
0 commit comments