From: Alan Knowles Date: Wed, 17 Jun 2015 09:24:14 +0000 (+0800) Subject: Pman.Dialog.CoreAutoSavePreview.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=4ce157bb60e971d206acea30d2d0c5144ac2de17 Pman.Dialog.CoreAutoSavePreview.bjs Pman.Dialog.CoreAutoSavePreview.js --- diff --git a/Pman.Dialog.CoreAutoSavePreview.bjs b/Pman.Dialog.CoreAutoSavePreview.bjs index f6d3f7ce..8bf1f067 100644 --- a/Pman.Dialog.CoreAutoSavePreview.bjs +++ b/Pman.Dialog.CoreAutoSavePreview.bjs @@ -122,7 +122,7 @@ "xtype" : "ColumnModel", "header" : "By", "width" : 100, - "$ renderer" : "function(v) { return String.format('{0}', v ? v.format('Y-m-d H:i:s') : ''); }", + "$ renderer" : "function(v) { return String.format('{0}', v ); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]", "dataIndex" : "person_id_name" diff --git a/Pman.Dialog.CoreAutoSavePreview.js b/Pman.Dialog.CoreAutoSavePreview.js index e5ca3b6d..ff234879 100644 --- a/Pman.Dialog.CoreAutoSavePreview.js +++ b/Pman.Dialog.CoreAutoSavePreview.js @@ -234,7 +234,7 @@ Pman.Dialog.CoreAutoSavePreview = { '|xns' : 'Roo.grid', dataIndex : 'person_id_name', header : _this._strings['53e5aa2c97fef1555d2511de8218c544'], - renderer : function(v) { return String.format('{0}', v ? v.format('Y-m-d H:i:s') : ''); }, + renderer : function(v) { return String.format('{0}', v ); }, width : 100, xns : Roo.grid, xtype : 'ColumnModel'