Pman.Dialog.CoreNotifyRecur.bjs
authorAlan Knowles <alan@akbkhome.com>
Wed, 16 May 2012 10:48:49 +0000 (18:48 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 16 May 2012 10:48:49 +0000 (18:48 +0800)
Pman.Dialog.CoreNotifyRecur.js

Pman.Dialog.CoreNotifyRecur.bjs
Pman.Dialog.CoreNotifyRecur.js

index b89909f..a3c7055 100644 (file)
                                     "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"
                                 }
                             ]
index c06c2e8..1b3c0b8 100644 (file)
@@ -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'); }
                             }
                         ]
                     }