Mercurial > lada > lada-client
comparison app/view/widget/base/Datetime.js @ 926:c75f13578315
Changed 'Solldatum' fields to readonly fields without default value.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 11 Sep 2015 14:18:52 +0200 |
parents | f124d24c8ade |
children | d6e259e76de6 |
comparison
equal
deleted
inserted
replaced
925:81e7c847cb58 | 926:c75f13578315 |
---|---|
23 margin: '0, 0, 5, 0', | 23 margin: '0, 0, 5, 0', |
24 | 24 |
25 initComponent: function() { | 25 initComponent: function() { |
26 var dateField = Ext.create('Lada.view.widget.base.DateTimeField', { | 26 var dateField = Ext.create('Lada.view.widget.base.DateTimeField', { |
27 format: this.format || 'd.m.Y H:i', | 27 format: this.format || 'd.m.Y H:i', |
28 emptyText: 'Wählen Sie einen Zeitpunkt', | 28 emptyText: this.emptyText || 'Wählen Sie einen Zeitpunkt', |
29 fieldLabel: this.fieldLabel, | 29 fieldLabel: this.fieldLabel, |
30 labelWidth: this.labelWidth, | 30 labelWidth: this.labelWidth, |
31 flex: 1, | 31 flex: 1, |
32 name: this.name, | 32 name: this.name, |
33 msgTarget: 'none', | 33 msgTarget: 'none', |
34 listeners: this.listeners, | 34 listeners: this.listeners, |
35 period: this.period | 35 readOnly: this.readOnly || false, |
36 period: this.period, | |
37 value: this.value | |
36 }); | 38 }); |
37 this.items = [dateField, { | 39 this.items = [dateField, { |
38 xtype: 'image', | 40 xtype: 'image', |
39 name: 'warnImg', | 41 name: 'warnImg', |
40 src: 'resources/img/dialog-warning.png', | 42 src: 'resources/img/dialog-warning.png', |