X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=src%2Fajax.js;h=b193a62d9bf3c70d69a98c60d99f5dc628d0d408;hb=6a25c20f5cdf2eba12d204517598a9e1386ab3a6;hp=bf3c238473ece848385862d98dd29010a33ab560;hpb=b721a2f472b53fec28276d2080d741cf070b686d;p=jquery.git diff --git a/src/ajax.js b/src/ajax.js index bf3c238..b193a62 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -177,8 +177,8 @@ jQuery.extend({ // Replace the =? sequence both in the query string and the data if ( s.data ) - s.data = (s.data + "").replace(jsre, "=" + jsonp); - s.url = s.url.replace(jsre, "=" + jsonp); + s.data = (s.data + "").replace(jsre, "=" + jsonp + "$1"); + s.url = s.url.replace(jsre, "=" + jsonp + "$1"); // We need to make sure // that a JSONP style response is executed properly