Pman.Tab.AdminTranslations.bjs
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Sep 2011 02:56:14 +0000 (10:56 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Sep 2011 02:56:14 +0000 (10:56 +0800)
Pman.Tab.AdminTranslations.bjs

index b3a4ca0..e079086 100644 (file)
                             ]
                         },
                         {
-                            "|xns": "Roo",
-                            "xtype": "GridPanel",
-                            "title": "i18n",
-                            "fitToframe": true,
-                            "fitContainer": true,
-                            "tableName": "i18n",
-                            "background": true,
-                            "region": "center",
                             "listeners": {
-                                "|activate": "function() {\n    _this.panel = this;\n    if (_this.grid) {\n        _this.grid.footer.onClick('first');\n    }\n}"
+                                "|activate": "function() {\n    _this.langpanel = this;\n    if (_this.langgrid) {\n        _this.langgrid.ds.load({});\n    }\n}"
                             },
+                            "background": true,
+                            "fitContainer": true,
+                            "fitToframe": true,
+                            "region": "center",
+                            "tableName": "i18n",
+                            "title": "i18n",
+                            "xtype": "GridPanel",
+                            "|xns": "Roo",
                             "items": [
                                 {
                                     "*prop": "grid",