X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.Download.js;h=2f16b24689413da76ec062818932f5ab201c7308;hp=124dcf1ad5218fa7b0e8aaa71af978b75cebf080;hb=443623f47935eb52acd65a3ff0d84eab1fd5a98b;hpb=ba1c6854037284503ab83f1864b31ce93e7ef1ee diff --git a/Pman.Download.js b/Pman.Download.js index 124dcf1a..2f16b246 100644 --- a/Pman.Download.js +++ b/Pman.Download.js @@ -110,7 +110,8 @@ Pman.Download = function(cfg) // }); // } - Roo.log(this.params); + //Roo.log(this.params); + this.params._get = 1; // always do a post request, with _get passed for(var i in this.params) { this.form.append(i, this.params[i]); /* @@ -128,7 +129,8 @@ Pman.Download = function(cfg) } var req = new XMLHttpRequest(); req.responseType = 'blob'; - req.open(this.method, this.url); + + req.open('POST', this.url); var _t = this; req.onload = function( ev )