]> source.dussan.org Git - jquery-ui.git/commitdiff
tabs: core ajax unit test - run two loads as two separate asyncs so IE7 will run...
authorRichard D. Worth <rdworth@gmail.com>
Fri, 2 Apr 2010 15:59:17 +0000 (11:59 -0400)
committerRichard D. Worth <rdworth@gmail.com>
Fri, 2 Apr 2010 15:59:17 +0000 (11:59 -0400)
tests/unit/tabs/tabs_core.js

index 20ab2b1fde3bbd1d5889972d60dca91f5cd5bd96..641f1f2e17e695d4ce51ce45e99a38ecaaffa4f8 100644 (file)
@@ -35,6 +35,8 @@ test('ajax', function() {
                selected: 2,
                load: function() {
                        // spinner: default spinner
+                       start();
+                       stop();
                        equals($('li:eq(2) > a > span', el).length, 1, "should restore tab markup after spinner is removed");
                        equals($('li:eq(2) > a > span', el).html(), '3', "should restore tab label after spinner is removed");
                        el.tabs('destroy');