]> git.openstreetmap.org Git - rails.git/commit
Always use controller computed zoom when starting Potlatch
authorTom Hughes <tom@compton.nu>
Thu, 5 Dec 2013 09:48:53 +0000 (09:48 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 5 Dec 2013 09:48:53 +0000 (09:48 +0000)
commit7a3500438906e55bdce461c208bbba1a2d8fdb75
treefe5a1101c31b7835575aef18bd90d562c2de9001
parent7318ee4b93a5dbcb7fece8553be65f2fb858e68a
Always use controller computed zoom when starting Potlatch

The value of mapParams.zoom may have come from the cookie and be
unrelated to the actual view the user came from with this click, so
just use the default zoom set by the controller.

Fixes #621.
app/views/site/_potlatch.html.erb
app/views/site/_potlatch2.html.erb