From 6ccfa7dbd0831b452d9d93795010d9e82e342d8b Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 4 May 2015 13:40:11 +0800 Subject: [PATCH] Pman.Dialog.CoreNotifyRecur.bjs Pman.Dialog.CoreNotifyRecur.js --- Pman.Dialog.CoreNotifyRecur.bjs | 9 +++++++++ Pman.Dialog.CoreNotifyRecur.js | 11 +++++++++++ 2 files changed, 20 insertions(+) diff --git a/Pman.Dialog.CoreNotifyRecur.bjs b/Pman.Dialog.CoreNotifyRecur.bjs index 654eefc0..7ed6d7a5 100644 --- a/Pman.Dialog.CoreNotifyRecur.bjs +++ b/Pman.Dialog.CoreNotifyRecur.bjs @@ -405,6 +405,15 @@ } ] }, + { + "xtype" : "ColumnModel", + "width" : 75, + "header" : "Last Sent", + "$ renderer" : "function(v) { return String.format('{0}', v ? v : 'never'); }", + "$ xns" : "Roo.grid", + "* prop" : "cm[]", + "dataIndex" : "last_event_id" + }, { "xtype" : "ColumnModel", "header" : "Last Sent", diff --git a/Pman.Dialog.CoreNotifyRecur.js b/Pman.Dialog.CoreNotifyRecur.js index d89c3264..db2ad32b 100644 --- a/Pman.Dialog.CoreNotifyRecur.js +++ b/Pman.Dialog.CoreNotifyRecur.js @@ -703,6 +703,17 @@ Pman.Dialog.CoreNotifyRecur = { xtype : 'ColumnModel' } ], + cm : [ + { + '|xns' : 'Roo.grid', + dataIndex : 'last_event_id', + header : _this._strings['b26686c0a708faee42861d8b905e882e'], + renderer : function(v) { return String.format('{0}', v ? v : 'never'); }, + width : 75, + xns : Roo.grid, + xtype : 'ColumnModel' + } + ], listeners : { afteredit : function (e) { -- 2.39.2