aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/ajax.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js
index f871da723..ea0478995 100644
--- a/test/unit/ajax.js
+++ b/test/unit/ajax.js
@@ -1760,7 +1760,12 @@ test("jQuery.post - data", 3, function() {
strictEqual( data, "test%5Blength%5D=7&test%5Bfoo%5D=bar", "Check if a sub-object with a length param is serialized correctly");
}
})
- ).then( start, start );
+ // The more compact then( start, start ) doesn't work in IE7
+ ).then( function() {
+ start();
+ }, function() {
+ start();
+ } );
});