Skip to content

Commit 329ad7d

Browse files
committed
Use POST as ajax type as that gets uppercased in 1.5.x and now works
there and in older versions.
1 parent 7837309 commit 329ad7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/methods.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,9 +414,9 @@ test("remote, customized ajax options", function() {
414414
required: true,
415415
remote: {
416416
url: "users.php",
417-
type: "post",
417+
type: "POST",
418418
beforeSend: function(request, settings) {
419-
same(settings.type, "post");
419+
same(settings.type, "POST");
420420
same(settings.data, "username=asdf&email=email.com");
421421
},
422422
data: {

0 commit comments

Comments
 (0)