]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/edit.html.erb
Use a standard application.js bundle
[rails.git] / app / views / diary_entry / edit.html.erb
index 6b4d9c177935f9d665df20a7685ea198629dafd2..ef46c63108f85bfcc04a0553a554e9731af623c6 100644 (file)
   <% zoom = '12' %>
 <% end %>
 
-<%= javascript_include_tag 'openlayers.js' %>
-<%= javascript_include_tag 'map.js' %>
-
 <script type="text/javascript">
   <!--
   var marker;
 
-  OpenLayers.Lang.setCode("<%= I18n.locale.to_s %>");
-
-  function setLocation( e ) { 
+  function setLocation( e ) {
     closeMapPopup();
 
     var lonlat = getEventPosition(e);