From: Edward Date: Wed, 26 Feb 2014 03:58:59 +0000 (+0800) Subject: Pman.Download.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=d2bf39a294c6878ecb9c58608c74a04e3006af28 Pman.Download.js --- diff --git a/Pman.Download.js b/Pman.Download.js index b514b451..1bae5f00 100644 --- a/Pman.Download.js +++ b/Pman.Download.js @@ -39,7 +39,7 @@ Pman.Download = function(cfg) { this.params = {}; - Roo.log(this); + Roo.apply(this, cfg); if (this.grid) { @@ -48,7 +48,7 @@ Pman.Download = function(cfg) Roo.log(this); } - Roo.log(cfg); + if (this.newWindow && this.method == 'GET') { // as ie seems buggy... window.open( cfg.url + '?' + Roo.urlEncode(cfg.params || {}), '_blank');