From: Edward Date: Wed, 26 Feb 2014 04:07:32 +0000 (+0800) Subject: Pman.Download.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=356899b2fd21330796904e45f64345790a83ca05 Pman.Download.js --- diff --git a/Pman.Download.js b/Pman.Download.js index 6ac4ae3e..ad485773 100644 --- a/Pman.Download.js +++ b/Pman.Download.js @@ -39,9 +39,9 @@ Pman.Download = function(cfg) { this.params = {}; - Roo.log(cfg); + Roo.apply(this, cfg); - Roo.log(this);return; + if (this.grid) { this.buildFromGrid(); @@ -50,6 +50,7 @@ Pman.Download = function(cfg) if (this.newWindow && this.method == 'GET') { + Roo.log('in'); // as ie seems buggy... window.open( cfg.url + '?' + Roo.urlEncode(cfg.params || {}), '_blank'); return ;