projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6c16407
)
increase time limit on download
author
Alan
<alan@roojs.com>
Fri, 15 Jul 2022 02:04:58 +0000
(10:04 +0800)
committer
Alan
<alan@roojs.com>
Fri, 15 Jul 2022 02:04:58 +0000
(10:04 +0800)
Pman.Gnumeric.js
patch
|
blob
|
history
diff --git
a/Pman.Gnumeric.js
b/Pman.Gnumeric.js
index
d581916
..
d5cf6b1
100644
(file)
--- a/
Pman.Gnumeric.js
+++ b/
Pman.Gnumeric.js
@@
-1716,10
+1716,10
@@
Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
}
var ser = new XMLSerializer();
}
var ser = new XMLSerializer();
- Roo.get(document.body).mask("Downloading");
+
Roo.get(document.body).mask("Downloading");
var x = new Pman.Download({
method: 'POST',
var x = new Pman.Download({
method: 'POST',
- timeout :
12
0000, // quite a long wait.. 2 minutes.
+ timeout :
24
0000, // quite a long wait.. 2 minutes.
params : {
xml : ser.serializeToString(this.doc),
format : this.format,
params : {
xml : ser.serializeToString(this.doc),
format : this.format,
@@
-1728,16
+1728,16
@@
Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
},
url : (this.downloadURL || (baseURL + '/GnumericToExcel/')) + name + '.xls',
success : function() {
},
url : (this.downloadURL || (baseURL + '/GnumericToExcel/')) + name + '.xls',
success : function() {
- Roo.get(document.body).unmask();
+
Roo.get(document.body).unmask();
Roo.MessageBox.alert("Alert", "File should have downloaded now");
if (callback) {
callback();
}
},
Roo.MessageBox.alert("Alert", "File should have downloaded now");
if (callback) {
callback();
}
},
- failure : function() {
- Roo.get(document.body).unmask();
- Roo.MessageBox.alert("Alert", "Download failed");
- }
+
failure : function() {
+
Roo.get(document.body).unmask();
+
Roo.MessageBox.alert("Alert", "Download failed");
+
}
});
}
});
}