]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker Tests: Fix hanging IE tests resulting from asynchronous blur(cherry picked...
authorMike Sherov <mike.sherov@gmail.com>
Sun, 14 Apr 2013 22:47:29 +0000 (18:47 -0400)
committerScott González <scott.gonzalez@gmail.com>
Mon, 25 Nov 2013 22:24:06 +0000 (17:24 -0500)
tests/unit/datepicker/datepicker_core.js

index 5914db26937377c755891da1699cbba19e3618ea..0bc5723ec8c10b360d370f0abc8e1419bb321a32 100644 (file)
@@ -297,7 +297,10 @@ asyncTest( "customStructure", function() {
                });
        }
 
-       step1();
+       // TODO: figure out why this setTimeout is needed in IE,
+       // it only is necessary when the previous baseStructure tests runs first
+       // Support: IE
+       setTimeout( step1 );
 });
 
 test("keystrokes", function() {