mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Autocomplete: Removed commented out test.
This commit is contained in:
parent
2445e20a85
commit
2b9b2f28ec
@ -176,22 +176,4 @@ asyncTest( "blur during remote search", function() {
|
|||||||
ac.val( "ro" ).keydown();
|
ac.val( "ro" ).keydown();
|
||||||
});
|
});
|
||||||
|
|
||||||
/* TODO previous fix broke more than it fixed, disabling this for now - messed up regular menu select event
|
|
||||||
test("blur without selection", function() {
|
|
||||||
expect(1);
|
|
||||||
var ac = $("#autocomplete").autocomplete({
|
|
||||||
delay: 0,
|
|
||||||
source: data
|
|
||||||
});
|
|
||||||
stop();
|
|
||||||
ac.val("j").keydown();
|
|
||||||
setTimeout(function() {
|
|
||||||
$( ".ui-menu-item" ).first().simulate("mouseover");
|
|
||||||
ac.simulate("keydown", { keyCode: $.ui.keyCode.TAB });
|
|
||||||
deepEqual( ac.val(), "j" );
|
|
||||||
start();
|
|
||||||
}, 50);
|
|
||||||
});
|
|
||||||
*/
|
|
||||||
|
|
||||||
}( jQuery ) );
|
}( jQuery ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user