From 963827d396959b856363417cc74749e79925c892 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 6 Oct 2014 14:47:36 -0700 Subject: [PATCH] Forward the `comment` hash parameter to iD See https://github.com/openstreetmap/iD/commit/21da76cf8060832e36d341d9bd41dd1142810b08 --- app/views/site/_id.html.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/site/_id.html.erb b/app/views/site/_id.html.erb index db611f428..7ddee6218 100644 --- a/app/views/site/_id.html.erb +++ b/app/views/site/_id.html.erb @@ -26,6 +26,10 @@ params.background = hashParams.background; } + if (hashParams.comment) { + params.comment = hashParams.comment; + } + <% if params[:gpx] -%> params.gpx = '<%= trace_data_url(params[:gpx]) %>'; <% else -%> -- 2.43.2