Add note creation to the sidebar
This commit is contained in:
parent
85282f5cdd
commit
1b19974b12
9 changed files with 169 additions and 213 deletions
|
@ -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();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue