Commit e10e625b authored by Brandon Aaron's avatar Brandon Aaron

fix for #4183

parent 29411a44
......@@ -233,9 +233,6 @@ jQuery.extend({
// If data is available, append data to url for get requests
if ( s.data && type == "GET" ) {
s.url += (s.url.match(/\?/) ? "&" : "?") + s.data;
// IE likes to send both get and post data, prevent this
s.data = null;
}
// Watch for a new set of requests
......@@ -409,7 +406,7 @@ jQuery.extend({
// Send the data
try {
xhr.send(s.data);
xhr.send( type === "POST" ? s.data : null );
} catch(e) {
jQuery.handleError(s, xhr, null, e);
}
......
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