]> git.openstreetmap.org Git - rails.git/commitdiff
Enable the "add note" link after a new note is created
authorTom Hughes <tom@compton.nu>
Sun, 3 Feb 2013 17:58:37 +0000 (17:58 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 3 Feb 2013 17:58:37 +0000 (17:58 +0000)
app/assets/javascripts/index/notes.js.erb

index 6245758bfce313a2871d52c529ff17c096ed9c78..3c6703bfa7824e3db945708a338fb1dca0541091 100644 (file)
@@ -169,6 +169,7 @@ $(document).ready(function () {
         notes[feature.properties.id] = updateMarker(marker, feature);
 
         $(".leaflet-popup-close-button").off("click.close");
+        $("#createnoteanchor").removeClass("disabled").addClass("geolink");
       }
     });
   }