]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.rhtml
api06: simplify exception handling and add exception handling to the diff
[rails.git] / app / views / site / index.rhtml
index 46bc3bdd7ee80f9b2ba013a88a5a0873f5d97b19..94b24debf54d41162759c182f069ab03e29d8108 100644 (file)
@@ -180,5 +180,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 %>
 // -->
 </script>