diff options
Diffstat (limited to 'app/maps/access_point_map.rb')
| -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());  | 
