Skip to content
Permalink
Browse files

fix for #4183

  • Loading branch information
brandonaaron committed May 16, 2009
1 parent 29411a4 commit e10e625bf4865cb8e9927e94d15afa37f6537a03
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/ajax.js
@@ -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);
}

0 comments on commit e10e625

Please sign in to comment.
You can’t perform that action at this time.