aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/autocomplete
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-11-09 13:28:13 -0500
committerScott González <scott.gonzalez@gmail.com>2012-11-09 13:28:13 -0500
commitf5870712c1f73c474a6980bb16d12768f4150984 (patch)
tree908c260e0e03ac398cbc1398606e73221058ee2b /tests/unit/autocomplete
parent498aadf644ddca86de838dc2001267ded972df2c (diff)
downloadjquery-ui-f5870712c1f73c474a6980bb16d12768f4150984.tar.gz
jquery-ui-f5870712c1f73c474a6980bb16d12768f4150984.zip
Updated all widgets to use proper data keys when getting plugin instances.
Diffstat (limited to 'tests/unit/autocomplete')
-rw-r--r--tests/unit/autocomplete/autocomplete_core.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/autocomplete/autocomplete_core.js b/tests/unit/autocomplete/autocomplete_core.js
index f2062cacd..845a3b19d 100644
--- a/tests/unit/autocomplete/autocomplete_core.js
+++ b/tests/unit/autocomplete/autocomplete_core.js
@@ -99,7 +99,7 @@ test( "allow form submit on enter when menu is not active", function() {
delay: 0,
minLength: 0
});
- element.data( "autocomplete" )._move = function() {
+ element.data( "ui-autocomplete" )._move = function() {
didMove = true;
};
element.simulate( "keydown", { keyCode: ( isKeyUp ? $.ui.keyCode.UP : $.ui.keyCode.DOWN ) } );
@@ -114,7 +114,7 @@ test( "allow form submit on enter when menu is not active", function() {
delay: 0,
minLength: 0
});
- element.data( "autocomplete" )._move = function() {
+ element.data( "ui-autocomplete" )._move = function() {
ok( true, "repsond to arrow" );
};
element.autocomplete( "search" );