X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Download.js;h=7037f745721c58e550577f7a35954c30a9d0fe0e;hb=81f602e2c25f2b9baf5c0a4b56e4ec614f410909;hp=ad4857739421c5d0f9698e21e16f420950cb5101;hpb=356899b2fd21330796904e45f64345790a83ca05;p=Pman.Core diff --git a/Pman.Download.js b/Pman.Download.js index ad485773..7037f745 100644 --- a/Pman.Download.js +++ b/Pman.Download.js @@ -50,9 +50,8 @@ 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'); + // as ie seems buggy... + window.open( this.url + '?' + Roo.urlEncode(this.params || {}), '_blank'); return ; } @@ -102,7 +101,7 @@ Pman.Download = function(cfg) // }); // } - + Roo.log(this.params); for(var i in this.params) { var el = this.form.createChild( { @@ -259,7 +258,7 @@ Roo.apply(Pman.Download.prototype, { this.url = this.grid.ds.proxy.conn.url; - this.method = this.grid.ds.proxy.conn.method ; + this.method = this.method || this.grid.ds.proxy.conn.method ; var t = this; // work out the cols