[openstreetmap-website] AJAXey commenting on notes from the browse page (#264)

Tom Hughes notifications at github.com
Mon May 13 23:29:39 UTC 2013

I've merged this to http://tomh.apis.dev.openstreetmap.org/ for people to try it out, but I have already spotted a few issues myself:

* You need to add `before_filter :require_oauth, :only => [:note]` to the browse controller so that it sets things up for OAuth to work in the AJAX requests.
* If you comment on a new note that doesn't have any comments yet then the comment doesn't appear when you submit it as there is no list to append to.
* The text input is not cleared after you submit a comment. 

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/20130513/a31681e2/attachment.html>

More information about the rails-dev mailing list