changeset 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 b0a3580a41e9
children b94ff1bf6491
files app.js app/view/window/MessungEdit.js
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/app.js	Thu Mar 12 09:48:36 2015 +0100
+++ b/app.js	Thu Mar 12 09:49:04 2015 +0100
@@ -107,6 +107,7 @@
         'Lada.controller.grid.Ort',
         'Lada.controller.grid.Probenzusatzwert',
         'Lada.controller.grid.PKommentar',
+        'Lada.controller.grid.MKommentar',
         'Lada.controller.grid.Messung',
         'Lada.controller.grid.Messwert',
         'Lada.controller.grid.Status'
--- 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