diff app/view/messungen/CreateForm.js @ 179:f1f0351b6e2f

Show List of Messungskommentare
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 04 Jul 2013 12:21:25 +0200
parents 311065a9e6df
children 062aa9001eb6
line wrap: on
line diff
--- a/app/view/messungen/CreateForm.js	Thu Jul 04 11:24:02 2013 +0200
+++ b/app/view/messungen/CreateForm.js	Thu Jul 04 12:21:25 2013 +0200
@@ -2,7 +2,8 @@
     extend: 'Lada.view.widgets.LadaForm',
     model: 'Lada.model.Messung',
     requires: [
-        'Lada.view.widgets.Messmethode'
+        'Lada.view.widgets.Messmethode',
+        'Lada.view.mkommentare.List'
     ],
     initComponent: function() {
         this.items = [
@@ -35,6 +36,20 @@
                 xtype: 'textfield',
                 name: 'geplant',
                 fieldLabel: 'Geplant'
+            },
+            // Messungskommentare
+            {
+                xtype: 'fieldset',
+                title: 'Messungskommentare',
+                collapsible: true,
+                collapsed: false,
+                padding: '10 10',
+                items: [
+                    {
+                        xtype: 'mkommentarelist',
+                        parentId: this.modelId
+                    }
+                ]
             }
         ];
         this.callParent();

http://lada.wald.intevation.org