diff options
author | jaubourg <j@ubourg.net> | 2011-01-16 05:25:45 +0100 |
---|---|---|
committer | jaubourg <j@ubourg.net> | 2011-01-16 05:25:45 +0100 |
commit | f74b84498987ace9bbbc3c041607016a23ff251e (patch) | |
tree | f4a90d63a4900f51520c7cdb5c745e2638908999 | |
parent | 914aa3d66b0d34fc44377a2facc00a77c65d0891 (diff) | |
download | jquery-f74b84498987ace9bbbc3c041607016a23ff251e.tar.gz jquery-f74b84498987ace9bbbc3c041607016a23ff251e.zip |
The script prefilter now forces cross-domain requests type to GET.
-rw-r--r-- | src/ajax/script.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ajax/script.js b/src/ajax/script.js index ee1d489eb..b0e576f27 100644 --- a/src/ajax/script.js +++ b/src/ajax/script.js @@ -23,6 +23,7 @@ jQuery.ajaxSetup({ } if ( s.crossDomain ) { + s.type = "GET"; s.global = false; } |