X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/88d10f8db8bff12dbaa234851dbfd633f512c3ea..43243e4c920bf472eb2c95ccdd6926dfbe2b7d4e:/app/views/layouts/site.html.erb
diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb
index 064fbed0a..31f87eb85 100644
--- a/app/views/layouts/site.html.erb
+++ b/app/views/layouts/site.html.erb
@@ -32,7 +32,7 @@
<%= link_to h(t('layouts.edit')) + content_tag(:span, "â¾", :class => "menuicon"), edit_path, {
:id => 'editanchor',
:title => t('javascripts.site.edit_tooltip'),
- :data => { :minzoom => 13 },
+ :data => { :minzoom => 13, :editor => preferred_editor },
:class => 'geolink llz object disabled'
} %>
<%= link_to t('layouts.history'), browse_changesets_path, {
@@ -44,6 +44,7 @@
<%= link_to t('layouts.export'), export_path, {
:id => 'exportanchor',
:title => t('layouts.export_tooltip'),
+ :data => { :url => url_for(:controller => :export, :action => :start) },
:class => 'geolink llz layers'
} %>
@@ -54,7 +55,7 @@
<%= link_to t('layouts.edit_with',
:editor => t("editor.#{editor}.description")),
edit_path(:editor => editor), {
- :id => editor + 'anchor',
+ :data => { :editor => editor },
:class => "geolink llz object"
} %>
<% end %>