diff app/controller/ProbenPlanungSwitcher.js @ 751:704bb359c0fe

dynamically exchange the store of the resultfiltergrid
author Dustin Demuth <dustin@intevation.de>
date Tue, 28 Apr 2015 16:03:59 +0200
parents 561ade69980e
children 639e82e2089e
line wrap: on
line diff
--- a/app/controller/ProbenPlanungSwitcher.js	Tue Apr 28 11:53:39 2015 +0200
+++ b/app/controller/ProbenPlanungSwitcher.js	Tue Apr 28 16:03:59 2015 +0200
@@ -43,10 +43,10 @@
         var resultGrid = field.up('panel[name=main]').down('filterresultgrid');
 
         var sname = 'Lada.store.ProbeQueries';
-        if (field.inputValue === 'probenplanung' && cbox) {
+        if (field.inputValue === 'MessprogrammeList' && cbox) {
             sname = 'Lada.store.MessprogrammQueries';
         }
-        else if (field.inputValue === 'probenliste' && cbox) {
+        else if (field.inputValue === 'ProbenList' && cbox) {
             sname = 'Lada.store.ProbeQueries';
         }
 

http://lada.wald.intevation.org