projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2f039e
)
Pman.Download.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 14 Sep 2010 06:55:39 +0000
(14:55 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 14 Sep 2010 06:55:39 +0000
(14:55 +0800)
Pman.Download.js
patch
|
blob
|
history
diff --git
a/Pman.Download.js
b/Pman.Download.js
index
7e32a2a
..
1d73bc8
100644
(file)
--- a/
Pman.Download.js
+++ b/
Pman.Download.js
@@
-91,22
+91,15
@@
Pman.Download = function(cfg)
});
for(var i in cfg.params) {
- if (('' + cfg.params[i]).length > 1000) {
- var el = this.form.createChild( {
- tag : 'textarea',
- // style: 'width:1px;height:1px',
- name : i
- });
- el.value = cfg.params[i];
- continue;
- }
+
var el = this.form.createChild( {
tag : 'input',
type: 'hidden',
- name : i
+ name : i,
+ value : cfg.params[i]
});
- el.dom.value = cfg.params[i];
+
}