Pman.Download.js
authorEdward <edward@roojs.com>
Thu, 2 May 2013 07:32:52 +0000 (15:32 +0800)
committerEdward <edward@roojs.com>
Thu, 2 May 2013 07:32:52 +0000 (15:32 +0800)
Pman.Download.js

index 4855d5b..9ac09e6 100644 (file)
@@ -37,7 +37,7 @@ Pman.Download = function(cfg)
     
     if (this.grid) {
         
-        this.buildFromGrid();
+        this.buildFromGrid(cfg);
         Roo.log(this);
     }
     
@@ -219,7 +219,7 @@ Roo.apply(Pman.Download.prototype, {
          
     },
     
-    buildFromGrid : function()
+    buildFromGrid : function(cfg)
     {
         // get the params from beforeLoad
         var ds = this.grid.ds;
@@ -254,7 +254,7 @@ Roo.apply(Pman.Download.prototype, {
             this.grid.loadMask.onLoad();
         }
         this.params.limit = this.limit;
-        
+        Roo.apply(this.params, cfg.params);
         
     }