From: Chris Date: Wed, 12 Sep 2012 10:18:24 +0000 (+0800) Subject: Pman.Tab.AdminContactsGroupRight.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=449bcf9560a4547911c26c6a7812e2022a9d27b4 Pman.Tab.AdminContactsGroupRight.bjs Pman.Tab.AdminContactsGroupRight.js --- 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); } }, {