From: Jörn Zaefferer Date: Mon, 25 Nov 2013 14:53:51 +0000 (+0100) Subject: Button unit tests: Make sure the test timeout runs after the formResetHandler. Fixes... X-Git-Tag: 1.10.4~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3f055d4a589aaeb594cfca378aa8b24f75510f53;p=jquery-ui.git Button unit tests: Make sure the test timeout runs after the formResetHandler. Fixes unit tests in IE7. (cherry picked from commit 63026bd2c75f326db558d6173045343b0ce3dc09) --- 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() {