From 749aba055a82fa758dd3db7d414421260f65dd93 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 16 May 2012 18:18:31 +0800 Subject: [PATCH] Pman.Dialog.CoreNotifyRecur.bjs Pman.Dialog.CoreNotifyRecur.js --- Pman.Dialog.CoreNotifyRecur.bjs | 2 +- Pman.Dialog.CoreNotifyRecur.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Pman.Dialog.CoreNotifyRecur.bjs b/Pman.Dialog.CoreNotifyRecur.bjs index 354c0535..af525084 100644 --- a/Pman.Dialog.CoreNotifyRecur.bjs +++ b/Pman.Dialog.CoreNotifyRecur.bjs @@ -206,7 +206,7 @@ "header": "at Hour(s)", "width": 250, "xtype": "ColumnModel", - "|renderer": "function(v,x,r) { \n \n Roo.log(x);\n if (v.length) {\n var cm = _this.grid.colModel;\n \n var ci = cm.getColumnByDataIndex(this.dataIndex);\n var ce = cm.getCellEditor(ci);\n ce.field.setValue(v);\n return String.format('{0}',ce.field.el.value);\n\n \n \n }\n \n return String.format('{0}', r.data.freq_hour_name || v); \n \n}", + "|renderer": "function(v,x,r) { \n \n Roo.log(x);\n if (v.length) {\n var cm = _this.grid.colModel;\n Roo.log(this);\n var ci = cm.getColumnByDataIndex(this.dataIndex);\n Roo.log(ci);\n var ce = cm.getCellEditor(ci);\n ce.field.setValue(v);\n return String.format('{0}',ce.field.el.value);\n\n \n \n }\n \n return String.format('{0}', r.data.freq_hour_name || v); \n \n}", "|xns": "Roo.grid", "items": [ { diff --git a/Pman.Dialog.CoreNotifyRecur.js b/Pman.Dialog.CoreNotifyRecur.js index bb135954..63bbf171 100644 --- a/Pman.Dialog.CoreNotifyRecur.js +++ b/Pman.Dialog.CoreNotifyRecur.js @@ -336,8 +336,9 @@ Pman.Dialog.CoreNotifyRecur = { Roo.log(x); if (v.length) { var cm = _this.grid.colModel; - + Roo.log(this); var ci = cm.getColumnByDataIndex(this.dataIndex); + Roo.log(ci); var ce = cm.getCellEditor(ci); ce.field.setValue(v); return String.format('{0}',ce.field.el.value); -- 2.39.2