Fixes a weird IE7 bug in the unit tests. If anybody can shed some light on this one, I'm a taker.

This commit is contained in:
jaubourg 2011-09-22 09:35:57 +02:00
parent d638aa9c6d
commit 6eb75676c4

View File

@ -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();
} );
});