mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Dialog tests: Work around focus issue in IE8.
(cherry picked from commit ce5539f368
)
This commit is contained in:
parent
c34743bc29
commit
cfdeab3e4b
@ -205,6 +205,11 @@ asyncTest( "#8958: dialog can be opened while opening", function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Support: IE8
|
||||||
|
// For some reason the #favorite-color input doesn't get focus if we don't
|
||||||
|
// focus the body first, causing the test to hang.
|
||||||
|
$( "body" ).focus();
|
||||||
|
|
||||||
$( "#favorite-animal" )
|
$( "#favorite-animal" )
|
||||||
// We focus the input to start the test. Once it receives focus, the
|
// We focus the input to start the test. Once it receives focus, the
|
||||||
// dialog will open. Opening the dialog, will cause an element inside
|
// dialog will open. Opening the dialog, will cause an element inside
|
||||||
|
Loading…
Reference in New Issue
Block a user