diff app.js @ 1015:af9879d72310

Updated UI, added window for filter management and added fieldset for query details.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 02 Feb 2016 15:25:16 +0100
parents 9ac03f461ab4
children 77e22ad5cc84
line wrap: on
line diff
--- a/app.js	Thu Jan 21 08:59:13 2016 +0100
+++ b/app.js	Tue Feb 02 15:25:16 2016 +0100
@@ -106,7 +106,6 @@
     },
 
     onLoginSuccess: function(response) {
-        Ext.create('Lada.view.Viewport');
 
         /* Parse Username and Timestamp */
         var json = Ext.decode(response.responseText);
@@ -164,6 +163,19 @@
             storeId: 'statusstufe',
             autoLoad: 'true'
         });
+        Ext.create('Lada.store.ProbeQueries', {
+            storeId: 'probequeries',
+            autoLoad: 'true'
+        });
+        Ext.create('Lada.store.MessprogrammQueries', {
+            storeId: 'messprogrammqueries',
+            autoLoad: 'true'
+        });
+        Ext.create('Lada.store.StammdatenQueries', {
+            storeId: 'stammdatenqueries',
+            autoLoad: 'true'
+        });
+
         //A Store containing all MST a User is allowed to set.
         Ext.create('Lada.store.Messstellen', {
             storeId: 'messstellenFiltered',
@@ -174,6 +186,7 @@
                 return false;
             }
         });
+        Ext.create('Lada.view.Viewport');
     },
 
     getServerVersion: function() {
@@ -219,6 +232,7 @@
         'Lada.controller.Map',
         'Lada.controller.form.Location',
         'Lada.controller.form.Messprogramm',
-        'Lada.controller.grid.Messmethode'
+        'Lada.controller.grid.Messmethode',
+        'Lada.controller.FilterManagement'
         ]
 });

http://lada.wald.intevation.org