changeset 176:74fc25979b51

Require messmethode widget. Fix fieldname.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 03 Jul 2013 17:12:27 +0200
parents 5878159209df
children 311065a9e6df
files app/view/messungen/CreateForm.js
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/messungen/CreateForm.js	Wed Jul 03 16:57:19 2013 +0200
+++ b/app/view/messungen/CreateForm.js	Wed Jul 03 17:12:27 2013 +0200
@@ -1,6 +1,9 @@
 Ext.define('Lada.view.messungen.CreateForm', {
     extend: 'Lada.view.widgets.LadaForm',
     model: 'Lada.model.Messung',
+    requires: [
+        'Lada.view.widgets.Messmethode'
+    ],
     initComponent: function() {
         this.items = [
             {
@@ -10,7 +13,7 @@
             },
             {
                 xtype: 'textfield',
-                name: 'mmzId',
+                name: 'mmtId',
                 fieldLabel: 'MMT'
             },
             {

http://lada.wald.intevation.org