comparison app/view/window/GenProbenFromMessprogramm.js @ 1260:96f9417c105e

Set default date value GenProbenFromMessprogramm
author Evi Huber <ehuber@bfs.de>
date Mon, 28 Nov 2016 08:28:53 +0100
parents cadd1c113bd0
children 3b4dcc83a21b
comparison
equal deleted inserted replaced
1259:bfdd875cdb5f 1260:96f9417c105e
121 labelWidth: 90, 121 labelWidth: 90,
122 margin: 5, 122 margin: 5,
123 width: 200, 123 width: 200,
124 name: 'start', 124 name: 'start',
125 format: 'd.m.Y', 125 format: 'd.m.Y',
126 period: 'start' 126 period: 'start',
127 value: new Date()
127 }, { 128 }, {
128 xtype: 'datefield', 129 xtype: 'datefield',
129 fieldLabel: i18n.getMsg('to'), 130 fieldLabel: i18n.getMsg('to'),
130 labelWidth: 90, 131 labelWidth: 90,
131 margin: 5, 132 margin: 5,
132 width: 200, 133 width: 200,
133 name: 'end', 134 name: 'end',
134 format: 'd.m.Y', 135 format: 'd.m.Y',
135 period: 'end' 136 period: 'end',
137 value: new Date(new Date().getFullYear(), 11, 31)
136 }] 138 }]
137 }]; 139 }];
138 this.callParent(arguments); 140 this.callParent(arguments);
139 }, 141 },
140 142

http://lada.wald.intevation.org