]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_head.html.erb
Disable buttons while form submission is in progress
[rails.git] / app / views / layouts / _head.html.erb
index 91a862f0ab730a32fdff276e72d6e5657029aa9b..c85594189a96257d4a5f4e48aa84073c9fd58270 100644 (file)
@@ -29,6 +29,8 @@
     <% if session[:location] %>
     OSM.location = <%= session[:location].to_json.html_safe %>;
     <% end %>
+
+    OSM.preferred_editor = <%= preferred_editor.to_json.html_safe %>;
   </script>
   <title><%= t 'layouts.project_name.title' %><%= ' | '+ @title if @title %></title>
 </head>