There's no comment textarea on resolved note pages, but pressing *Hide* if you're a moderator still tries to read a value and submit it as a comment.
 With this PR the value is read only if the textarea is present. You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/5842 -- Commit Summary -- * Fix "undefined" comment when hiding resolved notes -- File Changes -- M app/assets/javascripts/index/note.js (7) M test/system/resolve_note_test.rb (1) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/5842.patch https://github.com/openstreetmap/openstreetmap-website/pull/5842.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5842 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev