Button unit tests: Make sure the test timeout runs after the formResetHandler. Fixes unit tests in IE7.

(cherry picked from commit 63026bd2c7)
This commit is contained in:
Jörn Zaefferer 2013-11-25 15:53:51 +01:00 committed by Scott González
parent e704b1f79f
commit 3f055d4a58

View File

@ -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() {