X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2cbcabb3f6992904903a72dfbcef624bd391a314..7fc2dbecd572718421d000441ccb305241e7d5ff:/app/views/site/edit.rhtml?ds=sidebyside diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml index 16c2ef3f2..5b1b81108 100644 --- a/app/views/site/edit.rhtml +++ b/app/views/site/edit.rhtml @@ -26,15 +26,15 @@ <% if params['mlon'] and params['mlat'] %> <% lon = h(params['mlon']) %> <% lat = h(params['mlat']) %> -<% zoom = h(params['zoom']) || '12' %> +<% zoom = h(params['zoom'] || '12') %> <% elsif @user and params['lon'].nil? and params['lat'].nil? %> <% lon = @user.home_lon %> <% lat = @user.home_lat %> <% zoom = '12' %> <%else%> -<% lon = h(params['lon']) || '-0.1' %> -<% lat = h(params['lat']) || '51.5' %> -<% zoom = h(params['zoom']) || '12' %> +<% lon = h(params['lon'] || '-0.1') %> +<% lat = h(params['lat'] || '51.5') %> +<% zoom = h(params['zoom'] || '12') %> <% end %>
You need a Flash player to use Potlatch, the @@ -43,7 +43,7 @@ Several other options are also available for editing OpenStreetMap.
- +<%= javascript_include_tag 'swfobject.js' %>