diff app/view/status/Create.js @ 199:30ba9a98d627

Added forms to create a Messstatus
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 08 Jul 2013 16:14:58 +0200
parents
children 11f8a2c1b610
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/view/status/Create.js	Mon Jul 08 16:14:58 2013 +0200
@@ -0,0 +1,22 @@
+Ext.define('Lada.view.status.Create', {
+    extend: 'Ext.window.Window',
+    alias: 'widget.statuscreate',
+
+    title: 'Maske für den Messstatus',
+    autoShow: true,
+    autoScroll: true,
+    modal: true,
+
+    initComponent: function() {
+        var form = Ext.create('Lada.view.status.CreateForm', this.initialConfig);
+        this.items = [form];
+        this.buttons = [
+            {
+                text: 'Speichern',
+                scope: form,
+                action: 'save'
+            }
+        ];
+        this.callParent();
+    }
+});

http://lada.wald.intevation.org