diff app/view/window/MessungEdit.js @ 845:613ad3263e59

Load messgroessen with messmethode filter.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 08 Jul 2015 09:33:25 +0200
parents fab0b7be5aca
children 13c0e64e1873
line wrap: on
line diff
--- a/app/view/window/MessungEdit.js	Tue Jul 07 13:01:35 2015 +0200
+++ b/app/view/window/MessungEdit.js	Wed Jul 08 09:33:25 2015 +0200
@@ -63,6 +63,10 @@
         this.width = 700;
         this.height = Ext.getBody().getViewSize().height - 30;
 
+        var mStore = Ext.data.StoreManager.get('messgroessen');
+        mStore.proxy.extraParams = {mmtId: this.record.get('mmtId')};
+        mStore.load();
+
         this.items = [{
             border: 0,
             autoScroll: true,
@@ -78,7 +82,8 @@
                 margin: 5,
                 items: [{
                     xtype: 'messwertgrid',
-                    recordId: this.record.get('id')
+                    recordId: this.record.get('id'),
+                    messgroesseStore: mStore
                 }]
             }, {
                 xtype: 'fset',

http://lada.wald.intevation.org