Pman.Download.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 29 Jul 2011 05:43:03 +0000 (13:43 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 29 Jul 2011 05:43:03 +0000 (13:43 +0800)
Pman.Download.js

index c3ef15a..4caced0 100644 (file)
@@ -51,7 +51,7 @@ Pman.Download = function(cfg)
         (function() {
             submit = true;
             this.csvFrame.src = cfg.url;
-            this.cleanup.defer(30000,this);
+            this.cleanup.defer(cfg.timeout || 30000,this);
         }).defer(100, this);