diff app/view/window/MessungEdit.js @ 597:d2ce1c4c3aad

Add messung kommentare to messung edit window.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 12 Mar 2015 09:49:04 +0100
parents a81dafe06d1d
children 8a156a7fbe67
line wrap: on
line diff
--- a/app/view/window/MessungEdit.js	Thu Mar 12 09:48:36 2015 +0100
+++ b/app/view/window/MessungEdit.js	Thu Mar 12 09:49:04 2015 +0100
@@ -15,9 +15,9 @@
 
     requires: [
       'Lada.view.form.Messung',
-   //   'Lada.view.grid.MKommentar'
       'Lada.view.grid.Messwert',
       'Lada.view.grid.Status',
+      'Lada.view.grid.MKommentar'
     ],
 
     collapsible: true,
@@ -72,8 +72,13 @@
            }, {
                 xtype: 'fset',
                 name: 'messungskommentare',
-                title: 'Messungskommentare - Stub'
-                // TODO
+                title: 'Kommentare',
+                padding: '5, 5',
+                margin: 5,
+                items: [{
+                    xtype: 'mkommentargrid',
+                    recordId: this.record.get('id')
+                }]
            }]
         }];
         this.callParent(arguments);

http://lada.wald.intevation.org