[Lada-commits] [PATCH] Enabled initial display of ortinfo for Ortzuordnungwindow (Messprogramm)
Wald Commits
scm-commit at wald.intevation.org
Thu Feb 9 10:17:40 CET 2017
# HG changeset patch
# User Maximilian Krambach <mkrambach at intevation.de>
# Date 1486631856 -3600
# Node ID fae5757bd56cc4cb4cdf945babb3c52a637c32a1
# Parent 102c6b9e0a059dd6b24e69452073f68f1243e607
Enabled initial display of ortinfo for Ortzuordnungwindow (Messprogramm)
diff -r 102c6b9e0a05 -r fae5757bd56c app/view/window/Ortszuordnung.js
--- a/app/view/window/Ortszuordnung.js Wed Feb 08 18:33:03 2017 +0100
+++ b/app/view/window/Ortszuordnung.js Thu Feb 09 10:17:36 2017 +0100
@@ -268,12 +268,7 @@
projection: new OpenLayers.Projection('EPSG:3857')
});
map.map.addLayer(map.selectedFeatureLayer);
- var ortId;
- if (this.messprogramm) {
- ortId = this.record.get('ort');
- } else {
- ortId = this.record.get('ortId');
- }
+ var ortId = this.record.get('ortId');
if (ortId){
var feat = map.featureLayer.getFeaturesByAttribute('id', ortId);
var ortrecord = this.ortstore.findRecord('id', ortId);
More information about the Lada-commits
mailing list