Pman.Download.js
authorAlan Knowles <alan@roojs.com>
Tue, 4 Feb 2014 10:04:46 +0000 (18:04 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 4 Feb 2014 10:04:46 +0000 (18:04 +0800)
Pman.Download.js

index 447dd82..1bae5f0 100644 (file)
@@ -279,8 +279,11 @@ Roo.apply(Pman.Download.prototype, {
         this.params.limit = this.limit;
         
         // do it as a post, as args can get long..
-        this.params._get = 1;
-         this.method = this.method || 'POST';
+        
+        this.method = this.method || 'POST';
+        if (this.method  == 'POST') {
+            this.params._get = 1;
+        }
     }
      
 });