diff options
author | Richard Worth <rdworth@gmail.com> | 2011-03-15 05:48:31 -0400 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2011-03-15 05:48:31 -0400 |
commit | 2f5eadeb8feb802bf3cbb24e329e3c4da3015322 (patch) | |
tree | 3aa8c32a205a8980a063af3ab05ebf3d15db9087 /tests/unit/autocomplete/autocomplete_core.js | |
parent | 09215ef2cda488cafa92c42a8c63e2f1131147d0 (diff) | |
download | jquery-ui-2f5eadeb8feb802bf3cbb24e329e3c4da3015322.tar.gz jquery-ui-2f5eadeb8feb802bf3cbb24e329e3c4da3015322.zip |
Autocomplete: changed autoFocus default to true for 1.9. Fixed #7042 - Autocomplete: Default autoFocus to true
Diffstat (limited to 'tests/unit/autocomplete/autocomplete_core.js')
-rw-r--r-- | tests/unit/autocomplete/autocomplete_core.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/autocomplete/autocomplete_core.js b/tests/unit/autocomplete/autocomplete_core.js index 2edb8876c..19f52dc15 100644 --- a/tests/unit/autocomplete/autocomplete_core.js +++ b/tests/unit/autocomplete/autocomplete_core.js @@ -60,6 +60,7 @@ test( "prevent form submit on enter when menu is active", function() { test( "allow form submit on enter when menu is not active", function() { var event; var ac = $( "#autocomplete" ).autocomplete({ + autoFocus: false, source: [ "java", "javascript" ] }).val( "ja" ).autocomplete( "search" ); |