diff app/controller/Filter.js @ 752:639e82e2089e

remove and hide filters when switching between modes
author Dustin Demuth <dustin@intevation.de>
date Tue, 28 Apr 2015 16:54:25 +0200
parents 704bb359c0fe
children d572ee3271ac
line wrap: on
line diff
--- a/app/controller/Filter.js	Tue Apr 28 16:03:59 2015 +0200
+++ b/app/controller/Filter.js	Tue Apr 28 16:54:25 2015 +0200
@@ -203,7 +203,7 @@
             searchParams[filter.getName()] = value;
         }
         // Retrieve the mode
-        var modes = element.up('panel[name=main]').down('probenplanungswitcher').getChecked();
+        var modes = element.up('panel[name=main]').down('radiogroup').getChecked();
         var sname = modes[0].inputValue;
 
         if (sname === 'ProbenList') {

http://lada.wald.intevation.org