diff app/view/proben/CreateForm.js @ 121:c05fda928b82

Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 21 Jun 2013 16:55:23 +0200
parents 95b08b96f5c9
children 9b14742a8117
line wrap: on
line diff
--- a/app/view/proben/CreateForm.js	Fri Jun 21 16:53:39 2013 +0200
+++ b/app/view/proben/CreateForm.js	Fri Jun 21 16:55:23 2013 +0200
@@ -1,7 +1,14 @@
 Ext.define('Lada.view.proben.CreateForm', {
     extend: 'Lada.view.widgets.LadaForm',
+    requires: [
+        'Lada.view.widgets.Datenbasis',
+        'Lada.view.widgets.Netzbetreiber',
+        'Lada.view.widgets.Betriebsart',
+        'Lada.view.widgets.Testdatensatz',
+        'Lada.view.widgets.Probenart',
+        'Lada.view.widgets.Uwb'
+    ],
     model: 'Lada.model.Probe',
-
     initComponent: function() {
        this.items = [
             {
@@ -22,11 +29,6 @@
                         name: 'hauptprobenNr',
                         fieldLabel: 'Hauptprobennr.'
                     },
-                    //{
-                    //    xtype: 'textfield',
-                    //    name: 'probeId',
-                    //    fieldLabel: 'Probe-ID'
-                    //},
                     {
                         xtype: 'fieldset',
                         title: 'Erweiterte Probenangaben',
@@ -145,13 +147,6 @@
                 ]
             }
         ];
-        //this.buttons = [
-        //    {
-        //        text: 'Speichern',
-        //        handler: this.commit,
-        //        scope: this
-        //    }
-        //];
         this.callParent();
     },
     buildDescriptors: function() {

http://lada.wald.intevation.org