From 3f055d4a589aaeb594cfca378aa8b24f75510f53 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=CC=88rn=20Zaefferer?= Date: Mon, 25 Nov 2013 15:53:51 +0100 Subject: [PATCH] Button unit tests: Make sure the test timeout runs after the formResetHandler. Fixes unit tests in IE7. (cherry picked from commit 63026bd2c75f326db558d6173045343b0ce3dc09) --- tests/unit/button/button_core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/button/button_core.js b/tests/unit/button/button_core.js index 6df7da9db..41623e08d 100644 --- a/tests/unit/button/button_core.js +++ b/tests/unit/button/button_core.js @@ -174,7 +174,7 @@ asyncTest( "Resetting a button's form should refresh the visual state of the but setTimeout(function() { ok( checkbox.button( "widget" ).hasClass( "ui-state-active" )); start(); - }); + }, 1 ); }); asyncTest( "#6711 Checkbox/Radiobutton do not Show Focused State when using Keyboard Navigation", function() { -- 2.39.5