[Lada-commits] [PATCH 2 of 2] Uses a filtered store for the messtellen in PKommentare and MKommentare grids. This narrows down the list of selectable messstellen to those the user is currently associtated to

Wald Commits scm-commit at wald.intevation.org
Mon Nov 16 11:51:23 CET 2015


# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1447671071 -3600
# Node ID 37f30b01788c9965378a153bf6f8867c2a26194e
# Parent  f4eb53ba63fcbbdf9744907565a3ba7aa3986515
Uses a filtered store for the messtellen in PKommentare and MKommentare grids. This narrows down the list of selectable messstellen to those the user is currently associtated to

diff -r f4eb53ba63fc -r 37f30b01788c app/view/grid/MKommentar.js
--- a/app/view/grid/MKommentar.js	Mon Nov 16 11:48:15 2015 +0100
+++ b/app/view/grid/MKommentar.js	Mon Nov 16 11:51:11 2015 +0100
@@ -81,7 +81,7 @@
             },
             editor: {
                 xtype: 'combobox',
-                store: Ext.data.StoreManager.get('messstellen'),
+                store: Ext.data.StoreManager.get('messstellenFiltered'),
                 displayField: 'messStelle',
                 valueField: 'id',
                 allowBlank: false,
diff -r f4eb53ba63fc -r 37f30b01788c app/view/grid/PKommentar.js
--- a/app/view/grid/PKommentar.js	Mon Nov 16 11:48:15 2015 +0100
+++ b/app/view/grid/PKommentar.js	Mon Nov 16 11:51:11 2015 +0100
@@ -88,7 +88,7 @@
             },
             editor: {
                 xtype: 'combobox',
-                store: Ext.data.StoreManager.get('messstellen'),
+                store: Ext.data.StoreManager.get('messstellenFiltered'),
                 displayField: 'messStelle',
                 valueField: 'id',
                 allowBlank: false


More information about the Lada-commits mailing list