From 705bd3be0e4178cfab6e41cc7eaa20b29433625f Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 16 May 2012 18:11:28 +0800 Subject: [PATCH] Pman.Dialog.CoreNotifyRecur.bjs Pman.Dialog.CoreNotifyRecur.js --- Pman.Dialog.CoreNotifyRecur.bjs | 2 +- Pman.Dialog.CoreNotifyRecur.js | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Pman.Dialog.CoreNotifyRecur.bjs b/Pman.Dialog.CoreNotifyRecur.bjs index e0f25c4b..3154591b 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 return String.format('{0}', r.data.freq_hour_name || v); \n \n}", + "|renderer": "function(v,x,r) { \n \n if (v.length) {\n var cm = _this.grid.colModel;\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 bb51d565..71bfdb2e 100644 --- a/Pman.Dialog.CoreNotifyRecur.js +++ b/Pman.Dialog.CoreNotifyRecur.js @@ -333,6 +333,13 @@ Pman.Dialog.CoreNotifyRecur = { width : 250, renderer : function(v,x,r) { + if (v.length) { + var cm = _this.grid.colModel; + + + + } + return String.format('{0}', r.data.freq_hour_name || v); }, -- 2.39.2