The script prefilter now forces cross-domain requests type to GET.
authorjaubourg <j@ubourg.net>
Sun, 16 Jan 2011 04:25:45 +0000 (05:25 +0100)
committerjaubourg <j@ubourg.net>
Sun, 16 Jan 2011 04:25:45 +0000 (05:25 +0100)
src/ajax/script.js

index ee1d489..b0e576f 100644 (file)
@@ -23,6 +23,7 @@ jQuery.ajaxSetup({
        }
 
        if ( s.crossDomain ) {
+               s.type = "GET";
                s.global = false;
        }