Fixed editing new post notes duplicating them
This commit is contained in:
parent
a31d5849fc
commit
0edbd9bf40
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ App.Presenters.PostNotesPresenter = function(
|
|||
promise.wait(p)
|
||||
.then(function(response) {
|
||||
hideForm();
|
||||
postNote.id = response.json.id;
|
||||
postNote.id = response.json.note.id;
|
||||
postNote.$element.data('postNote', postNote);
|
||||
render();
|
||||
}).fail(function(response) {
|
||||
|
|
Loading…
Reference in a new issue