fix setting "protected" class and background on note tree

This commit is contained in:
azivner
2017-12-25 09:30:37 -05:00
parent 5ec866aa50
commit 31a4a201a8
4 changed files with 22 additions and 16 deletions

View File

@@ -115,6 +115,8 @@ const protected_session = (function() {
await noteEditor.saveNoteToServer(note);
noteTree.setProtected(note.detail.note_id, note.detail.is_protected);
noteEditor.setNoteBackgroundIfProtected(note);
}
@@ -129,6 +131,8 @@ const protected_session = (function() {
await noteEditor.saveNoteToServer(note);
noteTree.setProtected(note.detail.note_id, note.detail.is_protected);
noteEditor.setNoteBackgroundIfProtected(note);
}