comparison app/controller/Filter.js @ 792:d572ee3271ac

some work on a context-sensitive toolbar
author Dustin Demuth <dustin@intevation.de>
date Wed, 13 May 2015 13:00:13 +0200
parents 639e82e2089e
children bc6bc71efb78
comparison
equal deleted inserted replaced
791:56f91254cd23 792:d572ee3271ac
204 } 204 }
205 // Retrieve the mode 205 // Retrieve the mode
206 var modes = element.up('panel[name=main]').down('radiogroup').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 === 'ProbeList') {
210 sname = 'Lada.store.ProbenList'; 210 sname = 'Lada.store.ProbenList';
211 } 211 }
212 else if (sname === 'MessprogrammeList') { 212 else if (sname === 'MessprogrammList') {
213 sname = 'Lada.store.MessprogrammeList'; 213 sname = 'Lada.store.MessprogrammeList';
214 } 214 }
215 215
216 // Find the store or create a new one. 216 // Find the store or create a new one.
217 var store = Ext.StoreManager.lookup(sname); 217 var store = Ext.StoreManager.lookup(sname);

http://lada.wald.intevation.org