Skip to content
Permalink
Browse files

Fix for #884

  • Loading branch information
jzaefferer committed Jan 31, 2007
1 parent 397be50 commit 1e07c1a311358ce67e88d29c085160d8d210eb7b
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/ajax/ajax.js
@@ -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

0 comments on commit 1e07c1a

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