projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01ce476
)
Pman.Download.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 10 Sep 2010 05:55:38 +0000
(13:55 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 10 Sep 2010 05:55:38 +0000
(13:55 +0800)
Pman.Download.js
patch
|
blob
|
history
diff --git
a/Pman.Download.js
b/Pman.Download.js
index
34ea0a9
..
c650484
100644
(file)
--- a/
Pman.Download.js
+++ b/
Pman.Download.js
@@
-34,11
+34,11
@@
Pman.Download = function(cfg)
this.createCsvFrame();
- var requested =
false
;
+ var requested =
0
;
function cb()
{
-
- if (
!requested
) {
+ requested++; // second request is real one..
+ if (
requested < 2
) {
return;
}
var r = { responseText : "", responseXML : null };
@@
-100,7
+100,7
@@
Pman.Download = function(cfg)
}
-
this.form.submit();
+ this.form.submit();
requested = true;