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

Holger Jeromin notifications at github.com
Sat Jun 6 21:00:51 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-4443774936
You are receiving this because you are subscribed to this thread.

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


More information about the rails-dev mailing list