comparison app/view/messungen/Edit.js @ 231:edb2b636319f

Modified create dialogs to only contain fields to create a messung (without, messwerte, status, kommentare). Added Editdialog with all fields.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 17 Jul 2013 12:09:01 +0200
parents
children 11f8a2c1b610
comparison
equal deleted inserted replaced
230:7bea6974fb5b 231:edb2b636319f
1 Ext.define('Lada.view.messungen.Edit', {
2 extend: 'Ext.window.Window',
3 alias: 'widget.messungenedit',
4
5 title: 'Maske für Messungen',
6 width: Ext.getBody().getViewSize().width - 30,
7 height: Ext.getBody().getViewSize().height - 30,
8 autoShow: true,
9 autoScroll: true,
10 modal: true,
11
12 requires: [
13 'Lada.view.messungen.EditForm'
14 ],
15 initComponent: function() {
16 var form = Ext.create('Lada.view.messungen.EditForm', this.initialConfig);
17 this.items = [form];
18 this.buttons = [
19 {
20 text: 'Speichern',
21 scope: form,
22 action: 'save'
23 }
24 ];
25 this.callParent();
26 }
27 });

http://lada.wald.intevation.org