comparison app/view/mkommentare/CreateForm.js @ 207:62e116cd3e3b

Inheritance of Mkommentare from Kommentare does not work as expected. So write mostly duplicated code for MKommentare.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 09 Jul 2013 15:26:29 +0200
parents
children bd9ee11c74b4
comparison
equal deleted inserted replaced
206:32e1356cf391 207:62e116cd3e3b
1 Ext.define('Lada.view.mkommentare.CreateForm', {
2 extend: 'Lada.view.widgets.LadaForm',
3 model: 'Lada.model.MKommentar',
4 initComponent: function() {
5 this.items = [
6 {
7 xtype: 'textfield',
8 name: 'erzeuger',
9 fieldLabel: 'Erzeuger'
10 },
11 {
12 xtype: 'datefield',
13 name: 'kdatum',
14 fieldLabel: 'Datum'
15 },
16 {
17 xtype: 'textareafield',
18 name: 'ktext',
19 fieldLabel: 'Text'
20 }
21 ];
22 this.callParent();
23 }
24 });

http://lada.wald.intevation.org