Fix for #884
This commit is contained in:
parent
397be502f9
commit
1e07c1a311
1 changed files with 4 additions and 1 deletions
|
@ -599,9 +599,12 @@ jQuery.extend({
|
|||
if (s.processData && typeof s.data != "string")
|
||||
s.data = jQuery.param(s.data);
|
||||
// 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)
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue