From 6eb75676c4d21550daa755c3dfc3539b1c530556 Mon Sep 17 00:00:00 2001 From: jaubourg Date: Thu, 22 Sep 2011 09:35:57 +0200 Subject: [PATCH] Fixes a weird IE7 bug in the unit tests. If anybody can shed some light on this one, I'm a taker. --- test/unit/ajax.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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(); + } ); }); -- 2.39.5