mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Fix inital emty tags of new notes
This commit is contained in:
@@ -85,6 +85,7 @@ Notes.prototype = {
|
|||||||
contentType: 'application/json',
|
contentType: 'application/json',
|
||||||
data: JSON.stringify(note)
|
data: JSON.stringify(note)
|
||||||
}).done(function (note) {
|
}).done(function (note) {
|
||||||
|
note.tags = [];
|
||||||
self._notes.unshift(note);
|
self._notes.unshift(note);
|
||||||
self._activeNote = note;
|
self._activeNote = note;
|
||||||
self.load(note.id);
|
self.load(note.id);
|
||||||
|
|||||||
Reference in New Issue
Block a user