Fixed bug #215
This commit is contained in:
parent
08d865862a
commit
7654d3b833
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue