diff app.js @ 798:ff4330d4aba1

Filter Messtellen in Probeform and Messprogramm
author Dustin Demuth <dustin@intevation.de>
date Thu, 21 May 2015 15:23:49 +0200
parents b2fcbdc4969d
children 646779690e20
line wrap: on
line diff
--- a/app.js	Wed May 20 16:48:03 2015 +0200
+++ b/app.js	Thu May 21 15:23:49 2015 +0200
@@ -60,6 +60,7 @@
         Lada.username = '';
         Lada.userroles = '';
         Lada.logintime = '';
+        Lada.mst = [];
 
         var queryString = document.location.href.split('?')[1];
         if (queryString) {
@@ -118,6 +119,7 @@
         Lada.username = json.data.username;
         Lada.userroles = json.data.roles;
         Lada.logintime = json.data.servertime;
+        Lada.mst = json.data.mst; //Store Messstellen this user may select
 
         Ext.create('Lada.store.Datenbasis', {
             storeId: 'datenbasis'

http://lada.wald.intevation.org