Mercurial > lada > lada-client
comparison app/view/status/CreateForm.js @ 491:850ccfe5f3c4
Code style.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 31 Oct 2014 23:23:32 +0100 |
parents | 446e99cfd425 |
children | 7c0653e8d9f7 |
comparison
equal
deleted
inserted
replaced
490:446e99cfd425 | 491:850ccfe5f3c4 |
---|---|
13 extend: 'Lada.view.widgets.LadaForm', | 13 extend: 'Lada.view.widgets.LadaForm', |
14 requires : [ | 14 requires : [ |
15 'Lada.view.widgets.Mst', | 15 'Lada.view.widgets.Mst', |
16 'Lada.view.widgets.Statuswert' | 16 'Lada.view.widgets.Statuswert' |
17 ], | 17 ], |
18 | |
18 model: 'Lada.model.Status', | 19 model: 'Lada.model.Status', |
20 | |
19 initComponent: function() { | 21 initComponent: function() { |
20 this.items = [ | 22 this.items = [{ |
21 { | 23 xtype: 'mst', |
22 xtype: 'mst', | 24 label: 'Erzeuger', |
23 label: 'Erzeuger', | 25 name: 'erzeuger' |
24 name: 'erzeuger' | 26 }, { |
25 }, | 27 xtype: 'statuswert', |
26 { | 28 label: 'Status', |
27 xtype: 'statuswert', | 29 name: 'status' |
28 label: 'Status', | 30 }, { |
29 name: 'status' | 31 xtype: 'datetime', |
30 }, | 32 label: 'Datum', |
31 { | 33 name: 'datum' |
32 xtype: 'datetime', | 34 }, { |
33 label: 'Datum', | 35 xtype: 'textarea', |
34 name: 'datum' | 36 label: 'Kommentar', |
35 }, | 37 name: 'kommentar' |
36 { | 38 }]; |
37 xtype: 'textarea', | 39 this.callParent(arguments); |
38 label: 'Kommentar', | |
39 name: 'kommentar' | |
40 } | |
41 ]; | |
42 this.callParent(); | |
43 } | 40 } |
44 }); | 41 }); |
45 | 42 |