diff app/view/proben/Import.js @ 357:94884cd8f8c0

Added logic to upload a file to the server.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 13 Aug 2013 16:21:08 +0200
parents
children f9bb1ecf6462
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/view/proben/Import.js	Tue Aug 13 16:21:08 2013 +0200
@@ -0,0 +1,28 @@
+/*
+ * Window to import a Probe
+ */
+Ext.define('Lada.view.proben.Import', {
+    extend: 'Ext.window.Window',
+    alias: 'widget.probenimport',
+
+    title: 'Maske für §3-Proben Import',
+    autoShow: true,
+    autoScroll: true,
+    modal: true,
+    initComponent: function() {
+        this.buttons = [
+            {
+                text: 'Speichern',
+                action: 'save',
+            },
+            {
+                text: 'Abbrechen',
+                scope: this,
+                handler: this.close,
+            }
+        ];
+        var form = Ext.create('Lada.view.proben.ImportForm');
+        this.items = [form];
+        this.callParent();
+    }
+});

http://lada.wald.intevation.org