X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f4fa8ed40e608105bac8fa06da3695c688327b51..670d15e4c9738f4c4844d93bfe45d89a3351d25b:/app/views/site/index.rhtml
diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml
index 46bc3bdd7..fa31d848b 100644
--- a/app/views/site/index.rhtml
+++ b/app/views/site/index.rhtml
@@ -9,6 +9,7 @@
<%= render :partial => 'search' %>
+
<%= link_to_remote 'See Data', {:url => {:controller => 'browse', :action => 'start'}}, {:href => url_for( {:controller => 'browse', :action => 'index'}), :id => 'browseanchor', :title => 'browse data'} %>
@@ -180,5 +181,9 @@ by the OpenStreetMap project and it's contributors.
window.onload = handleResize;
window.onresize = handleResize;
+
+ <% if params['action'] == 'export' %>
+ <%= remote_function :url => { :controller => 'export', :action => 'start' } %>
+ <% end %>
// -->