comparison 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
comparison
equal deleted inserted replaced
751:704bb359c0fe 752:639e82e2089e
201 value = value.join(','); 201 value = value.join(',');
202 } 202 }
203 searchParams[filter.getName()] = value; 203 searchParams[filter.getName()] = value;
204 } 204 }
205 // Retrieve the mode 205 // Retrieve the mode
206 var modes = element.up('panel[name=main]').down('probenplanungswitcher').getChecked(); 206 var modes = element.up('panel[name=main]').down('radiogroup').getChecked();
207 var sname = modes[0].inputValue; 207 var sname = modes[0].inputValue;
208 208
209 if (sname === 'ProbenList') { 209 if (sname === 'ProbenList') {
210 sname = 'Lada.store.ProbenList'; 210 sname = 'Lada.store.ProbenList';
211 } 211 }

http://lada.wald.intevation.org