projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1abc29c
)
Pman.Download.js
author
Edward
<edward@roojs.com>
Wed, 26 Feb 2014 04:22:56 +0000
(12:22 +0800)
committer
Edward
<edward@roojs.com>
Wed, 26 Feb 2014 04:22:56 +0000
(12:22 +0800)
Pman.Download.js
patch
|
blob
|
history
diff --git
a/Pman.Download.js
b/Pman.Download.js
index
43a81aa
..
ed77f94
100644
(file)
--- a/
Pman.Download.js
+++ b/
Pman.Download.js
@@
-50,8
+50,11
@@
Pman.Download = function(cfg)
if (this.newWindow && this.method == 'GET') {
- // as ie seems buggy...
- window.open( this.url + '?' + Roo.urlEncode(this.params || {}), '_blank');
+ // as ie seems buggy...
+ var url = cfg.url || this.url;
+ var params = cfg.params || this.params;
+
+ window.open( url + '?' + Roo.urlEncode(params || {}), '_blank');
return ;
}