From 5115dca6437515d3621c2c301c86dbf98ed22014 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 16 May 2012 18:19:52 +0800 Subject: [PATCH] Pman.Dialog.CoreNotifyRecur.bjs Pman.Dialog.CoreNotifyRecur.js --- Pman.Dialog.CoreNotifyRecur.bjs | 2 +- Pman.Dialog.CoreNotifyRecur.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Pman.Dialog.CoreNotifyRecur.bjs b/Pman.Dialog.CoreNotifyRecur.bjs index 6bb4f80c..c24007fc 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 Roo.log(this);\n var ci = cm.getColumnByDataIndex(this.name);\n Roo.log(ci);\n \n var ce = cm.getCellEditor(ci);\n Roo.log(ce);\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 Roo.log(\"try fill\");\n var cm = _this.grid.colModel;\n Roo.log(this);\n var ci = cm.getColumnByDataIndex(this.name);\n Roo.log(ci);\n \n var ce = cm.getCellEditor(ci);\n Roo.log(ce);\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 e17d82a8..55521e88 100644 --- a/Pman.Dialog.CoreNotifyRecur.js +++ b/Pman.Dialog.CoreNotifyRecur.js @@ -335,6 +335,7 @@ Pman.Dialog.CoreNotifyRecur = { Roo.log(x); if (v.length) { + Roo.log("try fill"); var cm = _this.grid.colModel; Roo.log(this); var ci = cm.getColumnByDataIndex(this.name); -- 2.39.2