annotate app/view/status/Create.js @ 240:910cd477bfda

Added a comment with a list of currently available columns.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 23 Jul 2013 11:30:57 +0200
parents 30ba9a98d627
children 11f8a2c1b610
rev   line source
199
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
1 Ext.define('Lada.view.status.Create', {
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
2 extend: 'Ext.window.Window',
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
3 alias: 'widget.statuscreate',
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
4
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
5 title: 'Maske für den Messstatus',
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
6 autoShow: true,
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
7 autoScroll: true,
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
8 modal: true,
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
9
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
10 initComponent: function() {
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
11 var form = Ext.create('Lada.view.status.CreateForm', this.initialConfig);
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 this.items = [form];
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
13 this.buttons = [
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
14 {
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
15 text: 'Speichern',
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
16 scope: form,
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
17 action: 'save'
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
18 }
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
19 ];
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
20 this.callParent();
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
21 }
30ba9a98d627 Added forms to create a Messstatus
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
22 });

http://lada.wald.intevation.org