From: Alan Knowles Date: Wed, 16 May 2012 10:48:49 +0000 (+0800) Subject: Pman.Dialog.CoreNotifyRecur.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=46d9baaf7be7a38529a88eff1ad9bcb43648d334 Pman.Dialog.CoreNotifyRecur.bjs Pman.Dialog.CoreNotifyRecur.js --- diff --git a/Pman.Dialog.CoreNotifyRecur.bjs b/Pman.Dialog.CoreNotifyRecur.bjs index b89909f9..a3c7055a 100644 --- a/Pman.Dialog.CoreNotifyRecur.bjs +++ b/Pman.Dialog.CoreNotifyRecur.bjs @@ -321,7 +321,7 @@ "header": "Last Sent", "width": 75, "xtype": "ColumnModel", - "|renderer": "function(v) { return String.format('{0}', v); }", + "|renderer": "function(v) { return String.format('{0}', v ? v : 'never'); }", "|xns": "Roo.grid" } ] diff --git a/Pman.Dialog.CoreNotifyRecur.js b/Pman.Dialog.CoreNotifyRecur.js index c06c2e8f..1b3c0b86 100644 --- a/Pman.Dialog.CoreNotifyRecur.js +++ b/Pman.Dialog.CoreNotifyRecur.js @@ -515,7 +515,7 @@ Pman.Dialog.CoreNotifyRecur = { dataIndex : 'last_event_id', header : 'Last Sent', width : 75, - renderer : function(v) { return String.format('{0}', v); } + renderer : function(v) { return String.format('{0}', v ? v : 'never'); } } ] }