aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-01-30 08:36:13 -0500
committerScott González <scott.gonzalez@gmail.com>2013-01-30 08:36:41 -0500
commitceebe07e2c99190030c16b031813ae660d9283d1 (patch)
tree0246fedd6689c9a3d8689a27ad2ef9ed2871195c /demos
parent2ca4d17982bfedc723f499b41e0936ada9eaa852 (diff)
downloadjquery-ui-ceebe07e2c99190030c16b031813ae660d9283d1.tar.gz
jquery-ui-ceebe07e2c99190030c16b031813ae660d9283d1.zip
Autocomplete: Fix .data() references in demos. Fixes #9029 - Autocomplete: Multiple demo has errors.
Diffstat (limited to 'demos')
-rw-r--r--demos/autocomplete/multiple-remote.html2
-rw-r--r--demos/autocomplete/multiple.html2
2 files changed, 2 insertions, 2 deletions
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();
}
})