From 077895046bf59919d7d0db2c694dd9096f852f16 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 12 Sep 2012 18:05:31 +0800 Subject: [PATCH] Pman.Tab.AdminContactsGroupRight.bjs Pman.Tab.AdminContactsGroupRight.js --- Pman.Tab.AdminContactsGroupRight.bjs | 2 +- Pman.Tab.AdminContactsGroupRight.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Pman.Tab.AdminContactsGroupRight.bjs b/Pman.Tab.AdminContactsGroupRight.bjs index 62b18db..08e7051 100644 --- a/Pman.Tab.AdminContactsGroupRight.bjs +++ b/Pman.Tab.AdminContactsGroupRight.bjs @@ -264,7 +264,7 @@ "sortable": false, "width": 300, "xtype": "ColumnModel", - "|renderer": "function(v)\n{\n if (r.json.descript && r.json.descript.length) {\n return String.format('{0}',r.json.descript);\n }\n \n return '???' + v;\n}", + "|renderer": "function(v,x,r)\n{\n if (r.json.descript && r.json.descript.length) {\n return String.format('{0}',r.json.descript);\n }\n \n return '???' + v;\n}", "|xns": "Roo.grid" }, { diff --git a/Pman.Tab.AdminContactsGroupRight.js b/Pman.Tab.AdminContactsGroupRight.js index 29e94cc..f0c8e81 100644 --- a/Pman.Tab.AdminContactsGroupRight.js +++ b/Pman.Tab.AdminContactsGroupRight.js @@ -725,7 +725,7 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({ header : 'Permission', sortable : false, width : 300, - renderer : function(v) + renderer : function(v,x,r) { if (r.json.descript && r.json.descript.length) { return String.format('{0}',r.json.descript); -- 2.39.2