diff --git a/Pman.Dialog.CoreNotifyRefer.bjs b/Pman.Dialog.CoreNotifyRefer.bjs index d676e66f4..14a9bbc92 100644 --- a/Pman.Dialog.CoreNotifyRefer.bjs +++ b/Pman.Dialog.CoreNotifyRefer.bjs @@ -163,7 +163,7 @@ "header": "Frequency", "width": 100, "xtype": "ColumnModel", - "|renderer": "function(v,x,r) { \n\n Roo.log(x);\n var matches = this.editor.field.store.query('code',v);\n if (!matches.length) {\n return '';\n }\n return String.format('{0}', matches.first().data.title);\n }", + "|renderer": "function(v,x,r) { \n\n Roo.log(this);\n var matches = this.editor.field.store.query('code',v);\n if (!matches.length) {\n return '';\n }\n return String.format('{0}', matches.first().data.title);\n }", "|xns": "Roo.grid", "items": [ { diff --git a/Pman.Dialog.CoreNotifyRefer.js b/Pman.Dialog.CoreNotifyRefer.js index 34b71c1c0..8426e288a 100644 --- a/Pman.Dialog.CoreNotifyRefer.js +++ b/Pman.Dialog.CoreNotifyRefer.js @@ -246,7 +246,7 @@ Pman.Dialog.CoreNotifyRefer = { width : 100, renderer : function(v,x,r) { - Roo.log(x); + Roo.log(this); var matches = this.editor.field.store.query('code',v); if (!matches.length) { return '';