[openstreetmap/openstreetmap-website] Add profile location (PR #5302)

Anton Khorev notifications at github.com
Tue Mar 11 16:06:09 UTC 2025


@AntonKhorev commented on this pull request.



> +    locationInput = {
+      dirty: false,
+      requestController: null,
+      countryName: $("#location_name").val().trim(),
+      deletedText: null,
+      checkLocation: savedLat && savedLon && $("#location_name").val().trim()
+    };

When a similar thing appeared in `directions.js` - endpoints with their own data structure and their own fetches - I moved them into their own module.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5302/review/2675238253 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250311/0bb4b076/attachment.htm>


More information about the rails-dev mailing list