[openstreetmap-website] Fix P2 interaction with search links (#227)
John Firebaugh
notifications at github.com
Thu Apr 18 23:00:41 UTC 2013
Need to prevent the default action so that the page isn't reloaded.
Also, since the click event binding uses delegation, it isn't necessary to
wrap it in $(document).ready().
You can merge this Pull Request by running:
git pull https://github.com/jfirebaugh/openstreetmap-website p2-search
Or you can view, comment on it, or merge it online at:
https://github.com/openstreetmap/openstreetmap-website/pull/227
-- Commit Summary --
* Fix P2 interaction with search links
-- File Changes --
M app/views/site/_potlatch2.html.erb (12)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/227.patch
https://github.com/openstreetmap/openstreetmap-website/pull/227.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130418/2f80c8c6/attachment.html>
More information about the rails-dev
mailing list