X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/85984128b18ab72589c044ee410c4b2118a3453f..4a23ee8baf90c3729ad44ff75748670cfdebf6ad:/app/views/site/index.html.erb diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index 633a7ba3b..08bada0b9 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -25,7 +25,7 @@
@@ -129,6 +129,10 @@ end OpenLayers.Lang.setCode("<%= I18n.locale.to_s %>"); + <% if @user %> + var loginName = "<%= @user.display_name %>" + <% end %> + function createBugCallBack() { map.osbControl.deactivate(); document.getElementById("OpenLayers.Map_18_OpenLayers_Container").style.cursor = "default";