[Lada-commits] [PATCH] load only messgroessen depending on messmethode in MessungsEdit

Wald Commits scm-commit at wald.intevation.org
Wed Mar 29 08:50:07 CEST 2017


# HG changeset patch
# User Evi Huber <ehuber at bfs.de>
# Date 1490770196 -7200
# Node ID 3ecf993c250a36fae55b05f46f4afc51b82a156f
# Parent  6c9b0828d5bced09054dc77ff79c8b57c17abde4
load only messgroessen depending on messmethode in MessungsEdit

diff -r 6c9b0828d5bc -r 3ecf993c250a app/view/window/MessungEdit.js
--- a/app/view/window/MessungEdit.js	Wed Mar 29 08:43:25 2017 +0200
+++ b/app/view/window/MessungEdit.js	Wed Mar 29 08:49:56 2017 +0200
@@ -151,6 +151,9 @@
                         }
                     });
                 }
+                var mStore = Ext.data.StoreManager.get('messgroessen');
+                    mStore.proxy.extraParams = {mmtId: record.get('mmtId')};
+                    mStore.load();
                 this.down('messungform').setRecord(record);
                 this.record = record;
 


More information about the Lada-commits mailing list