changeset 191:46cc69277b8e

Removed unneeded code and set action attribute on button.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 08 Jul 2013 11:58:37 +0200
parents 781113839155
children d38b763806b0
files app/view/messwerte/Create.js
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/messwerte/Create.js	Mon Jul 08 11:58:04 2013 +0200
+++ b/app/view/messwerte/Create.js	Mon Jul 08 11:58:37 2013 +0200
@@ -3,22 +3,18 @@
     alias: 'widget.messwertecreate',
 
     title: 'Maske für Messwerte',
-    //width: Ext.getBody().getViewSize().width - 30,
-    //height: Ext.getBody().getViewSize().height - 30,
     autoShow: true,
     autoScroll: true,
     modal: true,
 
-    requires: [
-        'Lada.view.messungen.CreateForm'
-    ],
     initComponent: function() {
         var form = Ext.create('Lada.view.messwerte.CreateForm', this.initialConfig);
         this.items = [form];
         this.buttons = [
             {
                 text: 'Speichern',
-                scope: form
+                scope: form,
+                action: 'save'
             }
         ];
         this.callParent();

http://lada.wald.intevation.org