diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/view/messungen/Edit.js	Wed Jul 17 12:09:01 2013 +0200
@@ -0,0 +1,27 @@
+Ext.define('Lada.view.messungen.Edit', {
+    extend: 'Ext.window.Window',
+    alias: 'widget.messungenedit',
+
+    title: 'Maske für Messungen',
+    width: Ext.getBody().getViewSize().width - 30,
+    height: Ext.getBody().getViewSize().height - 30,
+    autoShow: true,
+    autoScroll: true,
+    modal: true,
+
+    requires: [
+        'Lada.view.messungen.EditForm'
+    ],
+    initComponent: function() {
+        var form = Ext.create('Lada.view.messungen.EditForm', this.initialConfig);
+        this.items = [form];
+        this.buttons = [
+            {
+                text: 'Speichern',
+                scope: form,
+                action: 'save'
+            }
+        ];
+        this.callParent();
+    }
+});

http://lada.wald.intevation.org