]> git.openstreetmap.org Git - rails.git/commit
Obey the location hash for edit URLs with objects
authorJohn Firebaugh <john.firebaugh@gmail.com>
Fri, 6 Dec 2013 00:10:28 +0000 (16:10 -0800)
committerTom Hughes <tom@compton.nu>
Fri, 6 Dec 2013 00:21:50 +0000 (00:21 +0000)
commite05adbb917adef34700858e9c0b46cc81cf59120
tree23e3906fa2f813f82d9a06b65f597d95cb4a173e
parent66aac9ca879d40f5e5767037c25e5867448586f9
Obey the location hash for edit URLs with objects

For a link like http://osm.org/edit?node=n#map=19/37.77683/-122.41459,
select the feature but also respect the map location.

This is the fix for iD. It appears P2 requires internal code
modifications.

Refs #620
app/views/site/_id.html.erb