added service for new note

This commit is contained in:
Thomas Hervey
2018-07-20 22:19:57 -04:00
parent bf9b19359a
commit 1d61355d08
2 changed files with 39 additions and 2 deletions
+1 -1
View File
@@ -322,7 +322,7 @@ export function uiNoteEditor(context) {
this.blur(); // avoid keeping focus on the button - #4641
var osm = services.osm;
if (osm) {
osm.postNoteAdd(d, d.status, function(err, note) {
osm.postNoteCreate(d, function(err, note) {
dispatch.call('change', note);
});
}