diff options
author | Corey Frang <gnarf@gnarf.net> | 2013-01-30 08:30:35 -0600 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-03-19 16:08:00 +0100 |
commit | 38c7b1ca814c59c48522cda6cfdf054c61773959 (patch) | |
tree | 1222eda4bc59f28d27a1c90239cdfd44fc06f688 /demos/autocomplete/custom-data.html | |
parent | 36cb6f264dbe6b155f8fd97b0ee7615a0f1adedb (diff) | |
download | jquery-ui-38c7b1ca814c59c48522cda6cfdf054c61773959.tar.gz jquery-ui-38c7b1ca814c59c48522cda6cfdf054c61773959.zip |
Demos: Updating to use instance method on bridge
Diffstat (limited to 'demos/autocomplete/custom-data.html')
-rw-r--r-- | demos/autocomplete/custom-data.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/autocomplete/custom-data.html b/demos/autocomplete/custom-data.html index 4e518db4d..32e6a9ad3 100644 --- a/demos/autocomplete/custom-data.html +++ b/demos/autocomplete/custom-data.html @@ -66,7 +66,7 @@ return false; } }) - .data( "ui-autocomplete" )._renderItem = function( ul, item ) { + .autocomplete( "instance" )._renderItem = function( ul, item ) { return $( "<li>" ) .append( "<a>" + item.label + "<br>" + item.desc + "</a>" ) .appendTo( ul ); |