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" );
test("all events", function() {
expect(12);
var ac = $("#autocomplete").autocomplete({
+ autoFocus: false,
delay: 0,
source: data,
search: function(event) {
test("all events - contenteditable", function() {
expect(12);
var ac = $("#autocomplete-contenteditable").autocomplete({
+ autoFocus: false,
delay: 0,
source: data,
search: function(event) {