comparison app/controller/ProbenPlanungSwitcher.js @ 908:96e04c258b8f

Fixed Code to correct minified js
author Dustin Demuth <dustin@intevation.de>
date Thu, 06 Aug 2015 15:33:26 +0200
parents d054732bc7a2
children fb99332bb48e
comparison
equal deleted inserted replaced
907:0d9fce86e6fd 908:96e04c258b8f
13 Ext.define('Lada.controller.ProbenPlanungSwitcher', { 13 Ext.define('Lada.controller.ProbenPlanungSwitcher', {
14 extend: 'Ext.app.Controller', 14 extend: 'Ext.app.Controller',
15 displayFields: null, 15 displayFields: null,
16 16
17 requires: [ 17 requires: [
18 'Lada.store.MessprogrammQueries' 18 'Lada.store.MessprogrammQueries',
19 'Lada.store.ProbeQueries'
19 ], 20 ],
20 21
21 /** 22 /**
22 * Initialize this Controller 23 * Initialize this Controller
23 * It has 1 Listeners 24 * It has 1 Listeners
85 var gridstore = Ext.StoreManager.lookup(gridsname); 86 var gridstore = Ext.StoreManager.lookup(gridsname);
86 if (!gridstore) { 87 if (!gridstore) {
87 gridstore = Ext.create(gridsname); 88 gridstore = Ext.create(gridsname);
88 } 89 }
89 if (gridstore) { 90 if (gridstore) {
90 gridstore.addListener('beforeload', this.loadingAnimationOn, resultGrid);
91 gridstore.addListener('load', this.loadingAnimationOff, resultGrid);
92 resultGrid.setStore(gridstore); 91 resultGrid.setStore(gridstore);
93 resultGrid.show(); 92 resultGrid.show();
94 } 93 }
95 94
96 } 95 }

http://lada.wald.intevation.org