aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog/dialog_methods.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-11-26 00:18:25 +0100
committerFelix Nagel <info@felixnagel.com>2013-11-26 00:18:25 +0100
commit5bc7fc2b1a248063b4d52086dfc32fae8601680e (patch)
tree82c176a82f64ca3c1a26648b9e3bf0d2f7282dd8 /tests/unit/dialog/dialog_methods.js
parentc20f1f8457802f90f8f06bcd2a33c340c2226b7c (diff)
parent9a5f20bc7d5218f864fb65d5d20775596065280d (diff)
downloadjquery-ui-5bc7fc2b1a248063b4d52086dfc32fae8601680e.tar.gz
jquery-ui-5bc7fc2b1a248063b4d52086dfc32fae8601680e.zip
Merge branch 'selectmenu' of github.com:jquery/jquery-ui into selectmenu
Diffstat (limited to 'tests/unit/dialog/dialog_methods.js')
-rw-r--r--tests/unit/dialog/dialog_methods.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit/dialog/dialog_methods.js b/tests/unit/dialog/dialog_methods.js
index 8918e8d36..d315e5fc3 100644
--- a/tests/unit/dialog/dialog_methods.js
+++ b/tests/unit/dialog/dialog_methods.js
@@ -220,6 +220,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" )
// We focus the input to start the test. Once it receives focus, the
// dialog will open. Opening the dialog, will cause an element inside