From 63026bd2c75f326db558d6173045343b0ce3dc09 Mon Sep 17 00:00:00 2001 From: Jörn Zaefferer Date: Mon, 25 Nov 2013 15:53:51 +0100 Subject: Button unit tests: Make sure the test timeout runs after the formResetHandler. Fixes unit tests in IE7. --- tests/unit/button/button_core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/unit/button') 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() { -- cgit v1.2.3