]> git.openstreetmap.org Git - rails.git/commitdiff
Turn on the note layer when adding a note
authorTom Hughes <tom@compton.nu>
Sun, 14 Aug 2011 16:21:20 +0000 (17:21 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 14 Aug 2011 16:21:20 +0000 (17:21 +0100)
app/views/site/index.html.erb

index fc9435b09cc4b527ae7584edac11b52aad9332e4..6412962ad20c287e9ea008e8c4923d9226abb21c 100644 (file)
@@ -285,6 +285,7 @@ end
   }
 
   function addNote() {
+    map.noteLayer.setVisibility(true);
     map.noteLayer.addNote(map.getCenter());
   }