]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/edit.rhtml
Set the OpenLayers locale when creating a map.
[rails.git] / app / views / site / edit.rhtml
index ccec7a02214cd9d8b97bc33c9c5a86716e343001..d7c47101a6c707369a1e2eff5e777be8c638e9b0 100644 (file)
@@ -73,6 +73,7 @@ zoom='14' if zoom.nil?
 
   function doSWF(lat,lon,sc) {
     if (sc < 11) sc = 11;
+    fo.addVariable('winie',winie);
     fo.addVariable('scale',sc);
     fo.addVariable('token','<%= session[:token] %>');
     if (lat) { fo.addVariable('lat',lat); }