From: Alan Knowles Date: Wed, 5 Dec 2012 06:33:40 +0000 (+0800) Subject: Pman.Tab.AdminNotifyRecur.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=6be0886c71c6c954ef72659a95bdcc91d7568cf2 Pman.Tab.AdminNotifyRecur.bjs Pman.Tab.AdminNotifyRecur.js --- diff --git a/Pman.Tab.AdminNotifyRecur.bjs b/Pman.Tab.AdminNotifyRecur.bjs index 800f1d6..9c781f9 100644 --- a/Pman.Tab.AdminNotifyRecur.bjs +++ b/Pman.Tab.AdminNotifyRecur.bjs @@ -69,7 +69,7 @@ "header": "Person", "width": 75, "xtype": "ColumnModel", - "|renderer": "function(v,x,r) { \n return String.format('{0} {1}', v,r,data.person_id.email); \n}", + "|renderer": "function(v,x,r) { \n return String.format('{0} {1}', v,r.data.person_id.email); \n}", "|xns": "Roo.grid" }, { diff --git a/Pman.Tab.AdminNotifyRecur.js b/Pman.Tab.AdminNotifyRecur.js index a0d6ffb..1eb8ae4 100644 --- a/Pman.Tab.AdminNotifyRecur.js +++ b/Pman.Tab.AdminNotifyRecur.js @@ -155,7 +155,7 @@ Pman.Tab.AdminNotifyRecur = new Roo.XComponent({ header : 'Person', width : 75, renderer : function(v,x,r) { - return String.format('{0} {1}', v,r,data.person_id.email); + return String.format('{0} {1}', v,r.data.person_id.email); } }, {