Pman.Download.js
authorAlan Knowles <alan@roojs.com>
Fri, 15 Jun 2012 03:44:21 +0000 (11:44 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 Jun 2012 03:44:21 +0000 (11:44 +0800)
Pman.Download.js

index 84547d2..ddc3358 100644 (file)
@@ -220,11 +220,11 @@ Roo.apply(Pman.Download.prototype, {
         });
         this.url = this.grid.ds.proxy.conn.url;
         this.method = this.grid.ds.proxy.conn.method ;
-        
+        var t = this;
         // work out the cols
         Roo.each(this.grid.cm.config, function(c,i) {
-            params['csvCols['+i+']'] = c.dataIndex;
-            params['csvTitles['+i+']'] = c.header;
+            t.params['csvCols['+i+']'] = c.dataIndex;
+            t.params['csvTitles['+i+']'] = c.header;
             
         });