X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fajax.js;h=bd87252a73e1add460a6731f97df978004e554dd;hb=3776cbe314ac6f5081e998c3d5ac84d3fbc51872;hp=0d1dd84cca03724e360281db9cd41614802f65ab;hpb=61e37d41490aed319a176c6ca7feb95e5505059c;p=jquery.git diff --git a/src/ajax.js b/src/ajax.js index 0d1dd84..bd87252 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -604,7 +604,7 @@ jQuery.extend({ function add( key, value ) { // If value is a function, invoke it and return its value value = jQuery.isFunction(value) ? value() : value; - s[ s.length ] = encodeURIComponent(key) + '=' + encodeURIComponent(value); + s[ s.length ] = encodeURIComponent(key) + "=" + encodeURIComponent(value); } // If an array was passed in, assume that it is an array of form elements.