]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/edit.html.erb
Set OpenLayers lang unobtrusively
[rails.git] / app / views / diary_entry / edit.html.erb
index 6b4d9c177935f9d665df20a7685ea198629dafd2..54ed0cc70ec94ec49d644d6fbc5632980b432973 100644 (file)
@@ -56,9 +56,7 @@
   <!--
   var marker;
 
-  OpenLayers.Lang.setCode("<%= I18n.locale.to_s %>");
-
-  function setLocation( e ) { 
+  function setLocation( e ) {
     closeMapPopup();
 
     var lonlat = getEventPosition(e);