X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/98445b2ab9d9d7b731ba128e7878a865d2409f37..ec4ef1ad2bc2c00895c97794f5e5d0e7820dff8a:/app/views/site/index.html.erb
diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb
index b7a9df068..877bc1771 100644
--- a/app/views/site/index.html.erb
+++ b/app/views/site/index.html.erb
@@ -6,11 +6,11 @@
<% unless STATUS == :api_offline or STATUS == :database_offline -%>
<% content_for :editmenu do -%>
-
<%= link_to t("browse.start_rjs.data_layer_name"), "#", :id => "show_data" %>
+ <%= link_to t("browse.start_rjs.data_layer_name"), { :controller => :browse, :action => :start }, :id => "show_data" %>
<% end -%>
<% end -%>
-<%= render :partial => 'sidebar', :locals => { :onopen => "resizeMap();", :onclose => "resizeMap();" } %>
+<%= render :partial => 'sidebar' %>
<%= render :partial => 'key' %>
<%= render :partial => 'search' %>
@@ -125,17 +125,12 @@ else
end
%>
-<%= javascript_include_tag 'openlayers.js' %>
-<%= javascript_include_tag 'map.js' %>
-
<%= render :partial => 'resize' %>