Mercurial > lada > lada-client
comparison app/view/kommentare/CreateForm.js @ 111:6273b73b4b27
Replaced Logic for Kommentare. Use copied code form Orte.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 19 Jun 2013 14:11:35 +0200 |
parents | |
children | 7b1140bd8b3d |
comparison
equal
deleted
inserted
replaced
110:c4f97a5a9939 | 111:6273b73b4b27 |
---|---|
1 Ext.define('Lada.view.kommentare.CreateForm', { | |
2 extend: 'Lada.view.widgets.LadaForm', | |
3 model: 'Lada.model.Kommentar', | |
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.buttons = [ | |
23 // { | |
24 // text: 'Speichern', | |
25 // handler: this.commit, | |
26 // scope: this | |
27 // } | |
28 //]; | |
29 this.callParent(); | |
30 } | |
31 }); |