mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Autocomplete tests: Fixed various bugs in various versions of IE.
This commit is contained in:
parent
c2f9677252
commit
bed6def5c0
@ -47,7 +47,9 @@ test("all events", function() {
|
||||
same( $(".ui-menu:visible").length, 1 );
|
||||
ac.simulate("keydown", { keyCode: $.ui.keyCode.DOWN });
|
||||
ac.simulate("keydown", { keyCode: $.ui.keyCode.ENTER });
|
||||
$.browser.msie ? ac.simulate("blur") : ac.blur();
|
||||
// blurring through jQuery causes a bug in IE 6 which causes the
|
||||
// autocompletechange event to occur twice
|
||||
ac[0].blur();
|
||||
}, 50);
|
||||
});
|
||||
|
||||
@ -87,7 +89,9 @@ test("all events - contenteditable", function() {
|
||||
same( $(".ui-menu:visible").length, 1 );
|
||||
ac.simulate("keydown", { keyCode: $.ui.keyCode.DOWN });
|
||||
ac.simulate("keydown", { keyCode: $.ui.keyCode.ENTER });
|
||||
$.browser.msie ? ac.simulate("blur") : ac.blur();
|
||||
// blurring through jQuery causes a bug in IE 6 which causes the
|
||||
// autocompletechange event to occur twice
|
||||
ac[0].blur();
|
||||
}, 50);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user