Skip to content
Permalink
Browse files
Fixed bug #215
  • Loading branch information
jzaefferer committed Oct 1, 2006
1 parent 08d8658 commit 7654d3b
Showing 1 changed file with 2 additions and 1 deletion.
@@ -298,7 +298,8 @@ jQuery.extend({
data = null;
}

if ( data ) url += "?" + jQuery.param(data);
// append ? + data or & + data, in case there are already params
if ( data ) url += ((url.indexOf("?") > -1) ? "&" : "?") + jQuery.param(data);

// Build and start the HTTP Request
jQuery.ajax( "GET", url, null, function(r, status) {

0 comments on commit 7654d3b

Please sign in to comment.