if ($(this).hasClass('disabled')) return;
- OSM.router.route('/new_note');
+ OSM.router.route('/note/new');
});
function createNote(marker, form, url) {
newNote = null;
noteLayer.removeLayer(marker);
addNoteButton.removeClass("active");
- OSM.route('/browse/note/' + feature.properties.id);
+ OSM.router.route('/note/' + feature.properties.id);
}
}