[openstreetmap-website] Run unload method before pushing the new state (#628)

John Firebaugh notifications at github.com
Thu Dec 5 20:12:18 UTC 2013


If running unload causes any hash changes, those should not end up on the new
URL.

Fixes #622
You can merge this Pull Request by running:

  git pull https://github.com/jfirebaugh/openstreetmap-website unload

Or you can view, comment on it, or merge it online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/628

-- Commit Summary --

  * Run unload method before pushing the new state

-- File Changes --

    M app/assets/javascripts/router.js (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/628.patch
https://github.com/openstreetmap/openstreetmap-website/pull/628.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20131205/dcf7a70c/attachment.html>


More information about the rails-dev mailing list