aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2011-01-16 05:25:45 +0100
committerjaubourg <j@ubourg.net>2011-01-16 05:25:45 +0100
commitf74b84498987ace9bbbc3c041607016a23ff251e (patch)
treef4a90d63a4900f51520c7cdb5c745e2638908999 /src
parent914aa3d66b0d34fc44377a2facc00a77c65d0891 (diff)
downloadjquery-f74b84498987ace9bbbc3c041607016a23ff251e.tar.gz
jquery-f74b84498987ace9bbbc3c041607016a23ff251e.zip
The script prefilter now forces cross-domain requests type to GET.
Diffstat (limited to 'src')
-rw-r--r--src/ajax/script.js1
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;
}