changeset 609:69e66117bd58

Do not load query store in controller.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 13 Mar 2015 14:52:35 +0100
parents 80077aeaa9ed
children 027703542596 04e380ce4d73 ab48824713e2
files app/controller/Filter.js app/view/FilterPanel.js
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/app/controller/Filter.js	Thu Mar 12 15:53:22 2015 +0100
+++ b/app/controller/Filter.js	Fri Mar 13 14:52:35 2015 +0100
@@ -19,8 +19,7 @@
     ],
 
     stores: [
-        'ProbenList',    // List of found Proben
-        'Queries'
+        'ProbenList'    // List of found Proben
     ],
 
     init: function() {
--- a/app/view/FilterPanel.js	Thu Mar 12 15:53:22 2015 +0100
+++ b/app/view/FilterPanel.js	Fri Mar 13 14:52:35 2015 +0100
@@ -27,7 +27,7 @@
             xtype: 'combobox',
             name: 'filter',
             editable: false,
-            store: 'Queries',
+            store: Ext.create('Lada.store.Queries'),
             displayField: 'name',
             valueField: 'id',
             emptyText: 'Wählen Sie eine Abfrage'

http://lada.wald.intevation.org