aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-01-30 18:10:39 +0100
committerFelix Nagel <info@felixnagel.com>2013-01-30 18:10:39 +0100
commit91dde04dadcd9b314e099ced040a763aa35b7b5c (patch)
tree3572e1b71f5c8998c46e411b9d992795a1105530 /demos
parentde149c47d79bf5822baad786591eb837fe2af769 (diff)
parentceebe07e2c99190030c16b031813ae660d9283d1 (diff)
downloadjquery-ui-91dde04dadcd9b314e099ced040a763aa35b7b5c.tar.gz
jquery-ui-91dde04dadcd9b314e099ced040a763aa35b7b5c.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'demos')
-rw-r--r--demos/autocomplete/custom-data.html2
-rw-r--r--demos/autocomplete/multiple-remote.html2
-rw-r--r--demos/autocomplete/multiple.html2
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();
}
})