[Lada-commits] [PATCH] Do not load query store in controller

Wald Commits scm-commit at wald.intevation.org
Fri Mar 13 14:51:46 CET 2015


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1426254755 -3600
# Node ID 69e66117bd58ff7448d4474dcb8daf65b34dc0dc
# Parent  80077aeaa9ed553508ddbcf6d18da2926f6ae8eb
Do not load query store in controller.

diff -r 80077aeaa9ed -r 69e66117bd58 app/controller/Filter.js
--- 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() {
diff -r 80077aeaa9ed -r 69e66117bd58 app/view/FilterPanel.js
--- 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'


More information about the Lada-commits mailing list