Commit 1e07c1a3 authored by Jörn Zaefferer's avatar Jörn Zaefferer

Fix for #884

parent 397be502
...@@ -599,9 +599,12 @@ jQuery.extend({ ...@@ -599,9 +599,12 @@ jQuery.extend({
if (s.processData && typeof s.data != "string") if (s.processData && typeof s.data != "string")
s.data = jQuery.param(s.data); s.data = jQuery.param(s.data);
// append data to url for get requests // append data to url for get requests
if( s.type.toLowerCase() == "get" ) if( s.type.toLowerCase() == "get" ) {
// "?" + data or "&" + data (in case there are already params) // "?" + data or "&" + data (in case there are already params)
s.url += ((s.url.indexOf("?") > -1) ? "&" : "?") + s.data; s.url += ((s.url.indexOf("?") > -1) ? "&" : "?") + s.data;
// IE likes to send both get and post data, prevent this
s.data = null;
}
} }
// Watch for a new set of requests // Watch for a new set of requests
......
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