Pman.Download.js
[Pman.Core] / Pman.Download.js
index 447dd82..63330fd 100644 (file)
@@ -41,7 +41,7 @@ Pman.Download = function(cfg)
     this.params = {};
     
     Roo.apply(this, cfg);
-     
+     Roo.log(this);return;
     if (this.grid) {
         
         this.buildFromGrid();
@@ -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;
+        }
     }
      
 });