Add note creation to the sidebar

This commit is contained in:
Aaron Lidman 2013-11-11 19:06:07 -08:00
parent 85282f5cdd
commit 1b19974b12
9 changed files with 169 additions and 213 deletions

View file

@ -1,6 +1,3 @@
//= require templates/notes/show
//= require templates/notes/new
OSM.Note = function(map) {
var noteLayer = map.noteLayer,
content = $('#sidebar_content'),
@ -66,7 +63,7 @@ OSM.Note = function(map) {
content.find("textarea").val('').trigger("input");
}
page.pushstate = page.popstate = function(path) {
page.pushstate = page.popstate = function() {
page.load();
};