Mercurial > lada > lada-client
annotate app/view/messungen/Edit.js @ 324:7f5f74e62658
Removed documentation of things which are already documented in the Ext model
class.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 13 Aug 2013 08:46:47 +0200 |
parents | 11f8a2c1b610 |
children | eccf58d3b106 |
rev | line source |
---|---|
231
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 Ext.define('Lada.view.messungen.Edit', { |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 extend: 'Ext.window.Window', |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 alias: 'widget.messungenedit', |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 title: 'Maske für Messungen', |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 width: Ext.getBody().getViewSize().width - 30, |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 height: Ext.getBody().getViewSize().height - 30, |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 autoShow: true, |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
9 autoScroll: true, |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 modal: true, |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 requires: [ |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 'Lada.view.messungen.EditForm' |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
14 ], |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
15 initComponent: function() { |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
16 this.buttons = [ |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
17 { |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
18 text: 'Speichern', |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
19 scope: form, |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
20 action: 'save' |
271
11f8a2c1b610
Added Cancel Button to all Windows. Changed order howthe form is initialized.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
231
diff
changeset
|
21 }, |
11f8a2c1b610
Added Cancel Button to all Windows. Changed order howthe form is initialized.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
231
diff
changeset
|
22 { |
11f8a2c1b610
Added Cancel Button to all Windows. Changed order howthe form is initialized.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
231
diff
changeset
|
23 text: 'Abbrechen', |
11f8a2c1b610
Added Cancel Button to all Windows. Changed order howthe form is initialized.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
231
diff
changeset
|
24 scope: this, |
11f8a2c1b610
Added Cancel Button to all Windows. Changed order howthe form is initialized.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
231
diff
changeset
|
25 handler: this.close, |
231
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
26 } |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
27 ]; |
271
11f8a2c1b610
Added Cancel Button to all Windows. Changed order howthe form is initialized.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
231
diff
changeset
|
28 var form = Ext.create('Lada.view.messungen.EditForm', this.initialConfig); |
11f8a2c1b610
Added Cancel Button to all Windows. Changed order howthe form is initialized.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
231
diff
changeset
|
29 this.items = [form]; |
231
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
30 this.callParent(); |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
31 } |
edb2b636319f
Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
32 }); |