]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/_map.html.erb
Drop with_format and user the new :formats render option instead
[rails.git] / app / views / changeset / _map.html.erb
index 34cf7002af256c39a685ff9cd94e72d05961dcb2..d0d65d9d77153bd85a31a6a0e3ac72e77efa1246 100644 (file)
@@ -1,5 +1,4 @@
-<%= javascript_include_tag '/openlayers/OpenLayers.js' %>
-<%= javascript_include_tag '/openlayers/OpenStreetMap.js' %>
+<%= javascript_include_tag 'openlayers.js' %>
 <%= javascript_include_tag 'map.js' %>
 
 <div id="changeset_list_map">
 
     vectors.addFeatures(highlight);
 
-    $("tr-changeset-" + id).addClassName("selected");
+    $("#tr-changeset-" + id).addClass("selected");
   }
 
   function unHighlightChangeset(id) {
     vectors.removeFeatures(highlight);
 
-    $("tr-changeset-" + id).removeClassName("selected");
+    $("#tr-changeset-" + id).removeClass("selected");
   }
 
   function init() {