[openstreetmap/openstreetmap-website] Display error message if note creation fails (PR #7132)

Holger Jeromin notifications at github.com
Sat Jun 6 20:58:24 UTC 2026


@HolgerJeromin commented on this pull request.



> @@ -28,8 +29,16 @@ OSM.NewNote = function (map) {
         text
       })
     })
+      .then((response) => {
+        if (response.status === 200) {

```suggestion
        if (response.ok) {
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7132#pullrequestreview-4443770435
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/7132/review/4443770435 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260606/d98590c7/attachment.htm>


More information about the rails-dev mailing list