changeset 971:37f30b01788c

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
author Dustin Demuth <dustin@intevation.de>
date Mon, 16 Nov 2015 11:51:11 +0100
parents f4eb53ba63fc
children 24b5684d74d7
files app/view/grid/MKommentar.js app/view/grid/PKommentar.js
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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,
--- 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

http://lada.wald.intevation.org