projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
15e2e77
)
Roo.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Mar 2011 04:36:00 +0000
(12:36 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Mar 2011 04:36:00 +0000
(12:36 +0800)
Roo.js
patch
|
blob
|
history
diff --git
a/Roo.js
b/Roo.js
index
2c4f71f
..
2395eed
100644
(file)
--- a/
Roo.js
+++ b/
Roo.js
@@
-336,16
+336,16
@@
Roo.factory(conf, Roo.data);
}
var buf = [];
for(var key in o){
}
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"){
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++) {
}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, "=&");
}
} else {
buf.push(k, "=&");