From: Chris Date: Thu, 13 Sep 2012 04:59:26 +0000 (+0800) Subject: Pman.Tab.AdminContactsGroupRight.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=01a653ce137d11debe7b57a43efc81442bf1bceb Pman.Tab.AdminContactsGroupRight.bjs Pman.Tab.AdminContactsGroupRight.js --- diff --git a/Pman.Tab.AdminContactsGroupRight.bjs b/Pman.Tab.AdminContactsGroupRight.bjs index 360b2fd..ae42f62 100644 --- a/Pman.Tab.AdminContactsGroupRight.bjs +++ b/Pman.Tab.AdminContactsGroupRight.bjs @@ -264,7 +264,7 @@ "sortable": false, "width": 300, "xtype": "ColumnModel", - "|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}", + "|renderer": "function(v,x,r)\n{\n \n \n return v;\n}", "|xns": "Roo.grid" }, { diff --git a/Pman.Tab.AdminContactsGroupRight.js b/Pman.Tab.AdminContactsGroupRight.js index 50fb4fa..00060d9 100644 --- a/Pman.Tab.AdminContactsGroupRight.js +++ b/Pman.Tab.AdminContactsGroupRight.js @@ -725,11 +725,9 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({ width : 300, renderer : function(v,x,r) { - if (r.json.descript && r.json.descript.length) { - return String.format('{0}',r.json.descript); - } - return '???' + v; + + return v; } }, {