Pman.Tab.XtupleReports.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 12:33:25 +0000 (20:33 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 12:33:25 +0000 (20:33 +0800)
Pman.Tab.XtupleReports.js

Pman.Tab.XtupleReports.bjs
Pman.Tab.XtupleReports.js

index 72e2dca..9b63d4e 100644 (file)
                         },
                         {
                             "listeners": {
-                                "|activate": "function() {\n    _this.panel = this;\n    if (_this.grid) {\n        _this.grid.footer.onClick('first');\n    }\n}"
+                                "|activate": "function() {\n    _this.vpanel = this;\n    if (_this.vgrid) {\n        _this.vgrid.footer.onClick('first');\n    }\n}"
                             },
                             "background": false,
                             "fitContainer": true,
index 165bc53..285cf62 100644 (file)
@@ -223,9 +223,9 @@ Pman.Tab.XtupleReports = new Roo.XComponent({
                         xns: Roo,
                         listeners : {
                             activate : function() {
-                                _this.panel = this;
-                                if (_this.grid) {
-                                    _this.grid.footer.onClick('first');
+                                _this.vpanel = this;
+                                if (_this.vgrid) {
+                                    _this.vgrid.footer.onClick('first');
                                 }
                             }
                         },