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

index 4caced0..eaea10b 100644 (file)
@@ -89,7 +89,7 @@ Pman.Download = function(cfg)
     (function() {
         submit = true;
         this.form.dom.submit();
-        this.cleanup.defer(30000,this);
+        this.cleanup.defer(cfg.timeout || 30000,this);
     }).defer(100, this);