From: Alan Knowles Date: Wed, 16 May 2012 10:11:28 +0000 (+0800) Subject: Pman.Dialog.CoreNotifyRecur.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=705bd3be0e4178cfab6e41cc7eaa20b29433625f Pman.Dialog.CoreNotifyRecur.bjs Pman.Dialog.CoreNotifyRecur.js --- 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); },