From 449bcf9560a4547911c26c6a7812e2022a9d27b4 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 12 Sep 2012 18:18:24 +0800 Subject: [PATCH] Pman.Tab.AdminContactsGroupRight.bjs Pman.Tab.AdminContactsGroupRight.js --- Pman.Tab.AdminContactsGroupRight.bjs | 2 +- Pman.Tab.AdminContactsGroupRight.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Pman.Tab.AdminContactsGroupRight.bjs b/Pman.Tab.AdminContactsGroupRight.bjs index 5bdc536..4c5b0d7 100644 --- a/Pman.Tab.AdminContactsGroupRight.bjs +++ b/Pman.Tab.AdminContactsGroupRight.bjs @@ -254,7 +254,7 @@ "sortable": false, "width": 150, "xtype": "ColumnModel", - "|renderer": "function(v,x,r) {\n// return String.format('{0}', v.split('.').shift(), v);\n}", + "|renderer": "function(v) {\n return String.format('{0}', v.split('.').shift(), v);\n}", "|xns": "Roo.grid" }, { diff --git a/Pman.Tab.AdminContactsGroupRight.js b/Pman.Tab.AdminContactsGroupRight.js index c5518d3..468f02d 100644 --- a/Pman.Tab.AdminContactsGroupRight.js +++ b/Pman.Tab.AdminContactsGroupRight.js @@ -712,8 +712,8 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({ header : 'Module', sortable : false, width : 150, - renderer : function(v,x,r) { - // return String.format('{0}', v.split('.').shift(), v); + renderer : function(v) { + return String.format('{0}', v.split('.').shift(), v); } }, { -- 2.39.2