Mercurial > lada > lada-client
changeset 1260:96f9417c105e
Set default date value GenProbenFromMessprogramm
author | Evi Huber <ehuber@bfs.de> |
---|---|
date | Mon, 28 Nov 2016 08:28:53 +0100 |
parents | bfdd875cdb5f |
children | d19170280a23 3d83bcb02ee3 |
files | app/view/widget/DynamicGrid.js app/view/window/GenProbenFromMessprogramm.js |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/app/view/widget/DynamicGrid.js Fri Nov 25 13:21:24 2016 +0100 +++ b/app/view/widget/DynamicGrid.js Mon Nov 28 08:28:53 2016 +0100 @@ -123,7 +123,6 @@ }, handler: function(grid, rowIndex, colIndex) { var rec = grid.getStore().getAt(rowIndex); - var tooltext = rec.proxy.url; grid.fireEvent('itemdblclick', grid, rec); } });
--- a/app/view/window/GenProbenFromMessprogramm.js Fri Nov 25 13:21:24 2016 +0100 +++ b/app/view/window/GenProbenFromMessprogramm.js Mon Nov 28 08:28:53 2016 +0100 @@ -123,7 +123,8 @@ width: 200, name: 'start', format: 'd.m.Y', - period: 'start' + period: 'start', + value: new Date() }, { xtype: 'datefield', fieldLabel: i18n.getMsg('to'), @@ -132,7 +133,8 @@ width: 200, name: 'end', format: 'd.m.Y', - period: 'end' + period: 'end', + value: new Date(new Date().getFullYear(), 11, 31) }] }]; this.callParent(arguments);