comparison app/controller/ProbenPlanungSwitcher.js @ 795:255568e97c96

Latest commit broke the search function
author Dustin Demuth <dustin@intevation.de>
date Mon, 18 May 2015 17:04:32 +0200
parents bc6bc71efb78
children d054732bc7a2
comparison
equal deleted inserted replaced
794:bc6bc71efb78 795:255568e97c96
62 if (!store) { 62 if (!store) {
63 store = Ext.create(sname, { 63 store = Ext.create(sname, {
64 //Select first Item on Load 64 //Select first Item on Load
65 listeners: { 65 listeners: {
66 load: function(s){ 66 load: function(s){
67 cbox.select(s.getAt(0).get('id')); 67 var records = new Array();
68 records.push(store.getAt(0));
69
70 cbox.select(records[0]);
71 cbox.fireEvent('select', cbox, records);
68 } 72 }
69 } 73 }
70 }); 74 });
71 } 75 }
72 if (store) { 76 if (store) {

http://lada.wald.intevation.org