X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo.js;h=2395eed28a84a8aca0f7b7cb9b5532596b600b6a;hb=aca385973f4ba6ce2099edae3c1f51a9c38afbc0;hp=2c4f71f0a074f077547bd46ae5eaf87bdb1b90bc;hpb=15e2e77d2db140c41874b43845d81d40f7513e84;p=roojs1 diff --git a/Roo.js b/Roo.js index 2c4f71f0a0..2395eed28a 100644 --- a/Roo.js +++ b/Roo.js @@ -336,16 +336,16 @@ Roo.factory(conf, Roo.data); } var buf = []; for(var key in o){ - var ov = o[key], k = encodeURIComponent(key); + var ov = o[key], k = Roo.encodeURIComponent(key); var type = typeof ov; if(type == 'undefined'){ buf.push(k, "=&"); }else if(type != "function" && type != "object"){ - buf.push(k, "=", encodeURIComponent(ov), "&"); + buf.push(k, "=", Roo.encodeURIComponent(ov), "&"); }else if(ov instanceof Array){ if (ov.length) { for(var i = 0, len = ov.length; i < len; i++) { - buf.push(k, "=", encodeURIComponent(ov[i] === undefined ? '' : ov[i]), "&"); + buf.push(k, "=", Roo.encodeURIComponent(ov[i] === undefined ? '' : ov[i]), "&"); } } else { buf.push(k, "=&");