Commit 8ac2169d authored by Jörn Zaefferer's avatar Jörn Zaefferer

Fixed two FF JS warnings

parent 677483ce
...@@ -457,7 +457,8 @@ jQuery.extend({ ...@@ -457,7 +457,8 @@ jQuery.extend({
timeout: 0, timeout: 0,
contentType: "application/x-www-form-urlencoded", contentType: "application/x-www-form-urlencoded",
processData: true, processData: true,
async: true async: true,
data: null
}, },
// Last-Modified header cache for next request // Last-Modified header cache for next request
......
...@@ -70,7 +70,7 @@ test("load(String, Object, Function) - inject without callback", function() { ...@@ -70,7 +70,7 @@ test("load(String, Object, Function) - inject without callback", function() {
test("load(String, Object, Function) - check scripts", function() { test("load(String, Object, Function) - check scripts", function() {
expect(7); expect(7);
stop(); stop();
testFoo = undefined; var testFoo = undefined;
foobar = null; foobar = null;
var verifyEvaluation = function() { var verifyEvaluation = function() {
ok( foobar == "bar", 'Check if script src was evaluated after load' ); ok( foobar == "bar", 'Check if script src was evaluated after load' );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment