projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more quote identeiifers fixessss
[Pman.Core]
/
Pman.Download.js
diff --git
a/Pman.Download.js
b/Pman.Download.js
index
9dba6b4
..
2f16b24
100644
(file)
--- 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]);
/*
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';
}
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 )
var _t = this;
req.onload = function( ev )
@@
-338,7
+340,7
@@
Roo.apply(Pman.Download.prototype, {
// do it as a post, as args can get long..
// do it as a post, as args can get long..
- this.method =
this.method ||
'POST';
+ this.method =
'POST';
if (this.method == 'POST') {
this.params._get = 1;
}
if (this.method == 'POST') {
this.params._get = 1;
}