Mercurial > lada > lada-client
comparison app/view/grid/Orte.js @ 1293:16a80ca16732
map feature visibility, selection and grid layout
messpunkt layer is now visible per default when in editing mode
on selection in map, the form is updated
ortszuordnung buttons should not render over grid anymore
author | Maximilian Krambach <mkrambach@intevation.de> |
---|---|
date | Wed, 01 Feb 2017 19:38:06 +0100 |
parents | 6321530e640e |
children | 6043187c6e8d |
comparison
equal
deleted
inserted
replaced
1292:317ae6bfd647 | 1293:16a80ca16732 |
---|---|
281 | 281 |
282 selectOrt: function(map, feature) { | 282 selectOrt: function(map, feature) { |
283 var id = feature[0].data.id; | 283 var id = feature[0].data.id; |
284 var record = this.store.getById(id); | 284 var record = this.store.getById(id); |
285 this.getSelectionModel().select(record); | 285 this.getSelectionModel().select(record); |
286 var win = this.up('ortszuordnungwindow'); | |
287 if (win){ | |
288 win.down('ortszuordnungform').setOrt(null, record); | |
289 } | |
286 } | 290 } |
287 }); | 291 }); |