projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bfc4640
)
Pman.Download.js
author
Alan Knowles
<alan@roojs.com>
Wed, 14 Aug 2019 07:53:27 +0000
(15:53 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 14 Aug 2019 07:53:27 +0000
(15:53 +0800)
Pman.Download.js
patch
|
blob
|
history
diff --git
a/Pman.Download.js
b/Pman.Download.js
index
71eef77
..
6d2b6fa
100644
(file)
--- a/
Pman.Download.js
+++ b/
Pman.Download.js
@@
-71,6
+71,10
@@
Pman.Download = function(cfg)
if (this.method == 'GET' && !this.params) {
(function() {
if (this.method == 'GET' && !this.params) {
(function() {
+
+
+ this.createCsvFrame();
+ Roo.EventManager.on( this.csvFrame, 'load', this.onLoad, this);
this.submit = true;
this.csvFrame.src = cfg.url;
//this.cleanup.defer(cfg.timeout || 30000,this);
this.submit = true;
this.csvFrame.src = cfg.url;
//this.cleanup.defer(cfg.timeout || 30000,this);
@@
-167,7
+171,7
@@
Roo.apply(Pman.Download.prototype, {
failure : false,
// private..
failure : false,
// private..
- /
*
+ /
/used by simple GET method.
createCsvFrame: function()
{
if (this.csvFrame) {
createCsvFrame: function()
{
if (this.csvFrame) {
@@
-189,7
+193,7
@@
Roo.apply(Pman.Download.prototype, {
}
},
}
},
-
+ /* not used as it didn't work..
onLoad : function()
{
// requested++; // second request is real one..
onLoad : function()
{
// requested++; // second request is real one..