diff app/view/window/MessungEdit.js @ 595:a81dafe06d1d

Add status to messung edit window.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 12 Mar 2015 09:47:42 +0100
parents e440b66a859f
children d2ce1c4c3aad
line wrap: on
line diff
--- a/app/view/window/MessungEdit.js	Thu Mar 12 09:46:17 2015 +0100
+++ b/app/view/window/MessungEdit.js	Thu Mar 12 09:47:42 2015 +0100
@@ -15,9 +15,9 @@
 
     requires: [
       'Lada.view.form.Messung',
-      'Lada.view.grid.Messwert'
-   //   'Lada.view.grid.Messstatus',
    //   'Lada.view.grid.MKommentar'
+      'Lada.view.grid.Messwert',
+      'Lada.view.grid.Status',
     ],
 
     collapsible: true,
@@ -59,12 +59,16 @@
                     xtype: 'messwertgrid',
                     recordId: this.record.get('id')
                 }]
-                // TODO
             }, {
                 xtype: 'fset',
                 name: 'messungstatus',
-                title: 'Messungstatus - Stub'
-                // TODO
+                title: 'Status',
+                padding: '5, 5',
+                margin: 5,
+                items: [{
+                    xtype: 'statusgrid',
+                    recordId: this.record.get('id')
+                }]
            }, {
                 xtype: 'fset',
                 name: 'messungskommentare',

http://lada.wald.intevation.org