mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Autocomplete unit tests: Fix event handling in IE
This commit is contained in:
parent
59ef373ddc
commit
3280e3356d
@ -47,7 +47,7 @@ test("all events", function() {
|
||||
same( $(".ui-menu:visible").length, 1 );
|
||||
ac.simulate("keydown", { keyCode: $.ui.keyCode.DOWN });
|
||||
ac.simulate("keydown", { keyCode: $.ui.keyCode.ENTER });
|
||||
ac.blur();
|
||||
$.browser.msie ? ac.simulate("blur") : ac.blur();
|
||||
}, 50);
|
||||
});
|
||||
|
||||
@ -63,7 +63,8 @@ test("change without selection", function() {
|
||||
start();
|
||||
}
|
||||
});
|
||||
ac.focus().val("ja").blur();
|
||||
ac.triggerHandler("focus");
|
||||
ac.val("ja").triggerHandler("blur");
|
||||
});
|
||||
|
||||
test("cancel search", function() {
|
||||
|
Loading…
Reference in New Issue
Block a user