]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/export/start.rjs
Fix file_column plugin to generate absolute URLs without falling over
[rails.git] / app / views / export / start.rjs
index 8a17ca6ae416eb9e6ee4ffbfe759f1ffe4d65bf6..c146e236d948302e889f997a45f1398cbbc5da1d 100644 (file)
@@ -77,7 +77,7 @@ page << <<EOJ
   $("minlat").onchange = boundsChanged;
 
   function startDrag() {
-    $("drag_box").innerHTML='#{I18n.t('export.start_rjs.drag_a_box')}';
+    $("drag_box").innerHTML="#{I18n.t('export.start_rjs.drag_a_box')}";
 
     clearBox();
     box.activate();
@@ -248,7 +248,7 @@ page << <<EOJ
     
     var layers = getMapLayers();
 
-    html += '<br /><small><a href="http://#{SERVER_URL}/?lat='+center.lat+'&lon='+center.lon+'&zoom='+zoom+'&layers='+layers+markerUrl+'">#{I18n.t('export.start_rjs.view_larger_map')}</a></small>';
+    html += '<br /><small><a href="http://#{SERVER_URL}/?lat='+center.lat+'&lon='+center.lon+'&zoom='+zoom+'&layers='+layers+markerUrl+'">'+"#{I18n.t('export.start_rjs.view_larger_map')}"+'</a></small>';
 
     $("export_html_text").value = html;