mirror of
https://github.com/JanGross/quicknotes.git
synced 2026-12-01 02:17:00 +01:00
Fix inital emty tags of new notes
This commit is contained in:
1 parent
c69f21f524
commit
56a91ef706
1 file changed
+1
@@ -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