Pman.Tab.XtupleCurrency.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 10:38:34 +0000 (18:38 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 10:38:34 +0000 (18:38 +0800)
Pman.Tab.XtupleCurrency.js

Pman.Tab.XtupleCurrency.bjs
Pman.Tab.XtupleCurrency.js

index 81e73df..8d632df 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.rpanel = this;\n    if (_this.rgrid) {\n        _this.rgrid.footer.onClick('first');\n    }\n}"
                             },
                             "background": false,
                             "fitContainer": true,
index 4aafd66..63cb6b4 100644 (file)
@@ -215,9 +215,9 @@ Pman.Tab.XtupleCurrency = new Roo.XComponent({
                         xns: Roo,
                         listeners : {
                             activate : function() {
-                                _this.panel = this;
-                                if (_this.grid) {
-                                    _this.grid.footer.onClick('first');
+                                _this.rpanel = this;
+                                if (_this.rgrid) {
+                                    _this.rgrid.footer.onClick('first');
                                 }
                             }
                         },