projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e976c8
)
Forward the `comment` hash parameter to iD
author
John Firebaugh
<john.firebaugh@gmail.com>
Mon, 6 Oct 2014 21:47:36 +0000
(14:47 -0700)
committer
John Firebaugh
<john.firebaugh@gmail.com>
Mon, 6 Oct 2014 21:47:36 +0000
(14:47 -0700)
See https://github.com/openstreetmap/iD/commit/
21da76cf8060832e36d341d9bd41dd1142810b08
app/views/site/_id.html.erb
patch
|
blob
|
history
diff --git
a/app/views/site/_id.html.erb
b/app/views/site/_id.html.erb
index db611f4286855f0603816515435f367d59525c33..7ddee6218269792a64b18bbc4301ce15945d84e3 100644
(file)
--- 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 -%>