Commit 7654d3b8 authored by Jörn Zaefferer's avatar Jörn Zaefferer

Fixed bug #215

parent 08d86586
......@@ -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) {
......
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