[openstreetmap-website] note-pages don't show map when opened from links in rss-feed (#555)

Martin Raifer notifications at github.com
Sat Nov 30 13:03:56 UTC 2013

Links to notes from the [notes RSS feed](https://wiki.openstreetmap.org/wiki/Notes#RSS_feed) contain a hash (apparently linking to specific comments) that triggers a javascript exception. Example:


The js error appears to be caused by an overly optimistic parsing of the hash:

    Uncaught exception: TypeError: Cannot convert 'e.map' to object
    Error thrown at line 4, column 40303 in <anonymous function: parseHash>(e) in http://www.openstreetmap.org/assets/application-2eac7288c2d3b3d38cfaf423d739c820.js:
    var a=e.map.split("/");

Because of this, the page stops loading and doesn't show the map.

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20131130/8f037bce/attachment.html>

More information about the rails-dev mailing list