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

index e079086..65f0ea7 100644 (file)
                             "|xns": "Roo",
                             "items": [
                                 {
-                                    "*prop": "grid",
-                                    "xtype": "Grid",
-                                    "autoExpandColumn": "ltype",
-                                    "loadMask": true,
                                     "listeners": {
-                                        "|render": "function() \n{\n    _this.grid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.panel.active) {\n       this.footer.onClick('first');\n    }\n}",
+                                        "|render": "function() \n{\n    _this.langgrid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.langpanel.active) {\n       this.ds.load({});\n    }\n}",
                                         "|rowdblclick": "function (_self, rowIndex, e)\n{\n    if (!_this.dialog) return;\n    _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n        _this.grid.footer.onClick('first');\n    }); \n}\n"
                                     },
+                                    "*prop": "grid",
+                                    "autoExpandColumn": "ltype",
+                                    "loadMask": true,
+                                    "xtype": "Grid",
                                     "|xns": "Roo.grid",
                                     "items": [
                                         {