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)
|
promise.wait(p)
|
||||||
.then(function(response) {
|
.then(function(response) {
|
||||||
hideForm();
|
hideForm();
|
||||||
postNote.id = response.json.id;
|
postNote.id = response.json.note.id;
|
||||||
postNote.$element.data('postNote', postNote);
|
postNote.$element.data('postNote', postNote);
|
||||||
render();
|
render();
|
||||||
}).fail(function(response) {
|
}).fail(function(response) {
|
||||||
|
|
Loading…
Reference in a new issue