diff options
author | jaubourg <j@ubourg.net> | 2011-09-22 09:35:57 +0200 |
---|---|---|
committer | jaubourg <j@ubourg.net> | 2011-09-22 09:35:57 +0200 |
commit | 6eb75676c4d21550daa755c3dfc3539b1c530556 (patch) | |
tree | b87a162e181da8623469a4c7cd8a99df884df869 | |
parent | d638aa9c6d6394db0c06431560b3d8b83cacc61c (diff) | |
download | jquery-6eb75676c4d21550daa755c3dfc3539b1c530556.tar.gz jquery-6eb75676c4d21550daa755c3dfc3539b1c530556.zip |
Fixes a weird IE7 bug in the unit tests. If anybody can shed some light on this one, I'm a taker.
-rw-r--r-- | test/unit/ajax.js | 7 |
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(); + } ); }); |