From: Chris Date: Wed, 12 Sep 2012 10:19:11 +0000 (+0800) Subject: Pman.Tab.AdminContactsGroupRight.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=36fda5400591819e554c970e4bca82f136b8ed26 Pman.Tab.AdminContactsGroupRight.bjs Pman.Tab.AdminContactsGroupRight.js --- diff --git a/Pman.Tab.AdminContactsGroupRight.bjs b/Pman.Tab.AdminContactsGroupRight.bjs index c1e8880..9cf7365 100644 --- a/Pman.Tab.AdminContactsGroupRight.bjs +++ b/Pman.Tab.AdminContactsGroupRight.bjs @@ -254,7 +254,7 @@ "sortable": false, "width": 150, "xtype": "ColumnModel", - "|renderer": "function(v) {\n return String.format('{0}', v.split('.').shift(), v);\n}", + "|renderer": "function(v,x,r) {\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 f4b31b3..a0675b3 100644 --- a/Pman.Tab.AdminContactsGroupRight.js +++ b/Pman.Tab.AdminContactsGroupRight.js @@ -712,7 +712,7 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({ header : 'Module', sortable : false, width : 150, - renderer : function(v) { + renderer : function(v,x,r) { return String.format('{0}', v.split('.').shift(), v); } },