diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2007-01-14 22:51:55 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2007-01-14 22:51:55 +0000 |
commit | 8ac2169dc01f646b9182a03353427f2c48cba49c (patch) | |
tree | 37b0131b789f90fe615e327b269f1f06212d37f0 /src/ajax | |
parent | 677483ce44de3e4a34f4cfcce04df2387d078a86 (diff) | |
download | jquery-8ac2169dc01f646b9182a03353427f2c48cba49c.tar.gz jquery-8ac2169dc01f646b9182a03353427f2c48cba49c.zip |
Fixed two FF JS warnings
Diffstat (limited to 'src/ajax')
-rw-r--r-- | src/ajax/ajax.js | 3 | ||||
-rw-r--r-- | src/ajax/ajaxTest.js | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/ajax/ajax.js b/src/ajax/ajax.js index 2ad93315d..98f792a35 100644 --- a/src/ajax/ajax.js +++ b/src/ajax/ajax.js @@ -457,7 +457,8 @@ jQuery.extend({ timeout: 0, contentType: "application/x-www-form-urlencoded", processData: true, - async: true + async: true, + data: null }, // Last-Modified header cache for next request diff --git a/src/ajax/ajaxTest.js b/src/ajax/ajaxTest.js index 7785a97a9..5eea9b80a 100644 --- a/src/ajax/ajaxTest.js +++ b/src/ajax/ajaxTest.js @@ -70,7 +70,7 @@ test("load(String, Object, Function) - inject without callback", function() { test("load(String, Object, Function) - check scripts", function() { expect(7); stop(); - testFoo = undefined; + var testFoo = undefined; foobar = null; var verifyEvaluation = function() { ok( foobar == "bar", 'Check if script src was evaluated after load' ); |