Mercurial > lada > lada-client
comparison app/view/mkommentare/CreateForm.js @ 490:446e99cfd425
Updated views and controllers using the new model and stores.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 31 Oct 2014 21:28:31 +0100 |
parents | debfcc7713e3 |
children | 850ccfe5f3c4 |
comparison
equal
deleted
inserted
replaced
489:6056a7fd9aa2 | 490:446e99cfd425 |
---|---|
9 /* | 9 /* |
10 * Formular to create and edit a Kommentar for Messungen | 10 * Formular to create and edit a Kommentar for Messungen |
11 */ | 11 */ |
12 Ext.define('Lada.view.mkommentare.CreateForm', { | 12 Ext.define('Lada.view.mkommentare.CreateForm', { |
13 extend: 'Lada.view.widgets.LadaForm', | 13 extend: 'Lada.view.widgets.LadaForm', |
14 model: 'Lada.model.MKommentar', | 14 model: 'Lada.model.KommentarM', |
15 initComponent: function() { | 15 initComponent: function() { |
16 this.items = [ | 16 this.items = [ |
17 { | 17 { |
18 xtype: 'mst', | 18 xtype: 'mst', |
19 name: 'erzeuger', | 19 name: 'erzeuger', |
20 fieldLabel: 'Erzeuger' | 20 fieldLabel: 'Erzeuger' |
21 }, | 21 }, |
22 { | 22 { |
23 xtype: 'datetime', | 23 xtype: 'datetime', |
24 name: 'kdatum', | 24 name: 'datum', |
25 fieldLabel: 'Datum' | 25 fieldLabel: 'Datum' |
26 }, | 26 }, |
27 { | 27 { |
28 xtype: 'textareafield', | 28 xtype: 'textareafield', |
29 maxLength: 1024, | 29 maxLength: 1024, |
30 name: 'ktext', | 30 name: 'text', |
31 fieldLabel: 'Text' | 31 fieldLabel: 'Text' |
32 } | 32 } |
33 ]; | 33 ]; |
34 this.callParent(); | 34 this.callParent(); |
35 } | 35 } |