diff options
Diffstat (limited to 'demos/autocomplete')
-rw-r--r-- | demos/autocomplete/custom-data.html | 2 | ||||
-rw-r--r-- | demos/autocomplete/multiple-remote.html | 2 | ||||
-rw-r--r-- | demos/autocomplete/multiple.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/demos/autocomplete/custom-data.html b/demos/autocomplete/custom-data.html index 327af4c13..aab331add 100644 --- a/demos/autocomplete/custom-data.html +++ b/demos/autocomplete/custom-data.html @@ -66,7 +66,7 @@ return false; } }) - .data( "autocomplete" )._renderItem = function( ul, item ) { + .data( "ui-autocomplete" )._renderItem = function( ul, item ) { return $( "<li>" ) .append( "<a>" + item.label + "<br>" + item.desc + "</a>" ) .appendTo( ul ); diff --git a/demos/autocomplete/multiple-remote.html b/demos/autocomplete/multiple-remote.html index 4b7a861ac..0f17e091d 100644 --- a/demos/autocomplete/multiple-remote.html +++ b/demos/autocomplete/multiple-remote.html @@ -29,7 +29,7 @@ // don't navigate away from the field on tab when selecting an item .bind( "keydown", function( event ) { if ( event.keyCode === $.ui.keyCode.TAB && - $( this ).data( "autocomplete" ).menu.active ) { + $( this ).data( "ui-autocomplete" ).menu.active ) { event.preventDefault(); } }) diff --git a/demos/autocomplete/multiple.html b/demos/autocomplete/multiple.html index 759ee48f7..5d6b05c9c 100644 --- a/demos/autocomplete/multiple.html +++ b/demos/autocomplete/multiple.html @@ -48,7 +48,7 @@ // don't navigate away from the field on tab when selecting an item .bind( "keydown", function( event ) { if ( event.keyCode === $.ui.keyCode.TAB && - $( this ).data( "autocomplete" ).menu.active ) { + $( this ).data( "ui-autocomplete" ).menu.active ) { event.preventDefault(); } }) |