comparison app/view/window/Ortszuordnung.js @ 1303:996607be4752

clear ortstore before new record is loaded
author Maximilian Krambach <mkrambach@intevation.de>
date Thu, 02 Feb 2017 13:46:41 +0100
parents 322da3ad0c0b
children 9f15a932a525
comparison
equal deleted inserted replaced
1302:322da3ad0c0b 1303:996607be4752
188 var osg = this.down('ortstammdatengrid'); 188 var osg = this.down('ortstammdatengrid');
189 var map = this.down('map'); 189 var map = this.down('map');
190 osg.setLoading(true); 190 osg.setLoading(true);
191 map.setLoading(true); 191 map.setLoading(true);
192 this.ortstore = Ext.data.StoreManager.get('orte'); 192 this.ortstore = Ext.data.StoreManager.get('orte');
193 this.ortstore.load();
193 var ortId; 194 var ortId;
194 if (this.messprogramm) { 195 if (this.messprogramm) {
195 ortId = this.record.get('ort'); 196 ortId = this.record.get('ort');
196 } else { 197 } else {
197 ortId = this.record.get('ortId'); 198 ortId = this.record.get('ortId');

http://lada.wald.intevation.org