[Lada-commits] [PATCH 6 of 6] Add messung kommentare to messung edit window

Wald Commits scm-commit at wald.intevation.org
Thu Mar 12 09:48:18 CET 2015


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1426150144 -3600
# Node ID d2ce1c4c3aad0799e21d67d4e7b6018d16426968
# Parent  b0a3580a41e92ab678d22080985a4877060a1b38
Add messung kommentare to messung edit window.

diff -r b0a3580a41e9 -r d2ce1c4c3aad app.js
--- 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'
diff -r b0a3580a41e9 -r d2ce1c4c3aad app/view/window/MessungEdit.js
--- 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);


More information about the Lada-commits mailing list