Mercurial > lada > lada-client
comparison app/view/widgets/Datetime.js @ 497:7c0653e8d9f7
Fixed some js related issues (unused vars, arrays, etc.) and code style.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 06 Nov 2014 10:38:17 +0100 |
parents | 446e99cfd425 |
children | 0a948bb99b60 |
comparison
equal
deleted
inserted
replaced
496:d07e5086a64b | 497:7c0653e8d9f7 |
---|---|
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz | 1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz |
2 * Software engineering by Intevation GmbH | 2 * Software engineering by Intevation GmbH |
3 * | 3 * |
4 * This file is Free Software under the GNU GPL (v>=3) | 4 * This file is Free Software under the GNU GPL (v>=3) |
5 * and comes with ABSOLUTELY NO WARRANTY! Check out | 5 * and comes with ABSOLUTELY NO WARRANTY! Check out |
6 * the documentation coming with IMIS-Labordaten-Application for details. | 6 * the documentation coming with IMIS-Labordaten-Application for details. |
7 */ | 7 */ |
8 | 8 |
9 /** | 9 /** |
10 * Datetimepicker with german date format. | 10 * Datetimepicker with german date format. |
11 */ | 11 */ |
12 Ext.define('Lada.view.widgets.Datetime' ,{ | 12 Ext.define('Lada.view.widgets.Datetime', { |
13 extend: 'Ext.ux.form.DateTimeField', | 13 extend: 'Ext.ux.form.DateTimeField', |
14 alias: 'widget.datetime', | 14 alias: 'widget.datetime', |
15 format: 'd.m.Y', | 15 format: 'd.m.Y', |
16 emptyText:'Wählen Sie einen Zeitpunkt', | 16 emptyText: 'Wählen Sie einen Zeitpunkt', |
17 | 17 |
18 initComponent: function() { | 18 initComponent: function() { |
19 this.callParent(arguments); | 19 this.callParent(arguments); |
20 } | 20 } |
21 }); | 21 }); |