From da5f5260b68b4681e28cac46dd8a06ab0aad6472 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 19 Sep 2019 09:43:44 +0800 Subject: [PATCH] Uncommited changes synced --- old/Pman.Tab.AdminPermMembers.bjs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/old/Pman.Tab.AdminPermMembers.bjs b/old/Pman.Tab.AdminPermMembers.bjs index bca5756..c40eaab 100644 --- a/old/Pman.Tab.AdminPermMembers.bjs +++ b/old/Pman.Tab.AdminPermMembers.bjs @@ -2,7 +2,7 @@ "name" : "Pman.Tab.AdminPermMembers", "parent" : "Pman.Tab.AdminPermManager", "title" : "Pman.Tab.AdminPermMembers", - "path" : "/home/khlau/gitlive/web.coba/Pman.Admin/old/Pman.Tab.AdminPermMembers.bjs", + "path" : "/home/alan/gitlive/Pman.Admin/old/Pman.Tab.AdminPermMembers.bjs", "permname" : "", "modOrder" : "001", "strings" : { @@ -31,8 +31,8 @@ "|activate" : "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}" }, "autoScroll" : true, - "fitToframe" : true, "background" : true, + "fitToframe" : true, "region" : "center", "title" : "Person", "xtype" : "GridPanel", @@ -43,8 +43,8 @@ { "listeners" : { "|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", - "|render" : "function() \n{\n _this.grid = this; \n if (!_this.dialog) {\n _this.dialog = Pman.Dialog.PersonEdit;\n \n }\n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}", - "cellclick" : "function (_self, rowIndex, columnIndex, e)\n{\n\n var di = this.colModel.getDataIndex(columnIndex);\n if (di != 'active') {\n return;\n }\n \n var rec = _this.grid.ds.getAt(rowIndex);\n \n rec.set('active', rec.data.active ? 0 : 1);\n rec.commit();\n Roo.select('.x-grid-row-selected').item(1).addClass('fadeout');\n (function(){\n _this.grid.footer.onClick('first');\n }).defer(5000)();\n \n}" + "cellclick" : "function (_self, rowIndex, columnIndex, e)\n{\n\n var di = this.colModel.getDataIndex(columnIndex);\n if (di != 'active') {\n return;\n }\n \n var rec = _this.grid.ds.getAt(rowIndex);\n \n rec.set('active', rec.data.active ? 0 : 1);\n rec.commit();\n Roo.select('.x-grid-row-selected').item(1).addClass('fadeout');\n (function(){\n _this.grid.footer.onClick('first');\n }).defer(5000)();\n \n}", + "|render" : "function() \n{\n _this.grid = this; \n if (!_this.dialog) {\n _this.dialog = Pman.Dialog.PersonEdit;\n \n }\n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}" }, "autoExpandColumn" : "name", "xtype" : "Grid", @@ -67,8 +67,8 @@ "items" : [ { "$ url" : "baseURL + '/Roo/core_person'", - "xtype" : "HttpProxy", "method" : "GET", + "xtype" : "HttpProxy", "$ xns" : "Roo.data", "* prop" : "proxy" }, @@ -229,8 +229,8 @@ }, { "xtype" : "ColumnModel", - "width" : 100, "header" : "Role", + "width" : 100, "$ renderer" : "function(v) { return String.format('{0}', v); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]", @@ -238,8 +238,8 @@ }, { "xtype" : "ColumnModel", - "width" : 100, "header" : "Phone", + "width" : 100, "$ renderer" : "function(v) { return String.format('{0}', v); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]", @@ -247,8 +247,8 @@ }, { "xtype" : "ColumnModel", - "width" : 100, "header" : "Fax", + "width" : 100, "$ renderer" : "function(v) { return String.format('{0}', v); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]", @@ -266,8 +266,8 @@ }, { "xtype" : "ColumnModel", - "width" : 75, "header" : "Active", + "width" : 75, "$ renderer" : "function(v) { \n var state = v> 0 ? '-checked' : '';\n\n return '';\n \n }", "$ xns" : "Roo.grid", "* prop" : "colModel[]", -- 2.39.2