diff options
| author | Bruno Perles | 2016-01-06 14:29:31 +0100 |
|---|---|---|
| committer | Bruno Perles | 2016-01-06 14:29:31 +0100 |
| commit | 67a9aaa42523d42347ab6125c97bb7503e84ea98 (patch) | |
| tree | e0b14556141e0439c2bfbdfc8c8f936182f14d75 | |
| parent | 48fbdec4286758a5ad84b7f7a53ee7ff241e0100 (diff) | |
| download | chouette-core-67a9aaa42523d42347ab6125c97bb7503e84ea98.tar.bz2 | |
Update afterfeaturemodified to featuremodified : #40946
| -rw-r--r-- | app/maps/access_point_map.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/maps/access_point_map.rb b/app/maps/access_point_map.rb index 0103d9edb..3f0013738 100644 --- a/app/maps/access_point_map.rb +++ b/app/maps/access_point_map.rb @@ -21,7 +21,7 @@ class AccessPointMap < ApplicationMap # TODO virer ce code inline page << <<EOF edit_access_point_layer.events.on({ - 'afterfeaturemodified': function(event) { + 'featuremodified': function(event) { geometry = event.feature.geometry.clone().transform(new OpenLayers.Projection("EPSG:900913"), new OpenLayers.Projection("EPSG:4326")); $('#access_point_coordinates').val(geometry.y.toString()+ ","+ geometry.x.toString()); |
