Pman.Dialog.CoreNotifyRefer.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 16 May 2012 04:47:22 +0000 (12:47 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 16 May 2012 04:47:22 +0000 (12:47 +0800)
Pman.Dialog.CoreNotifyRefer.js

Pman.Dialog.CoreNotifyRefer.bjs
Pman.Dialog.CoreNotifyRefer.js

index d676e66..14a9bbc 100644 (file)
                                     "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": [
                                         {
index 34b71c1..8426e28 100644 (file)
@@ -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 '';