X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Download.js;h=7037f745721c58e550577f7a35954c30a9d0fe0e;hb=c711d090aa2e6f3dc7225ab3df62fd0f2a70217e;hp=c66998b78a02c5c63460dd569ee61fd215288861;hpb=3eba744634a02cde7f3ec07e5cdf10b72f8d8bcc;p=Pman.Core diff --git a/Pman.Download.js b/Pman.Download.js index c66998b7..7037f745 100644 --- a/Pman.Download.js +++ b/Pman.Download.js @@ -50,10 +50,8 @@ Pman.Download = function(cfg) if (this.newWindow && this.method == 'GET') { - Roo.log('in'); - Roo.log(cfg); - // 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 ; } @@ -103,7 +101,7 @@ Pman.Download = function(cfg) // }); // } - + Roo.log(this.params); for(var i in this.params) { var el = this.form.createChild( { @@ -260,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