note titles are now encrypted as well - plus auto-decryption of note tree and unloading

This commit is contained in:
azivner
2017-09-06 23:13:39 -04:00
parent 91245ab5b8
commit fe3d3c1995
4 changed files with 55 additions and 27 deletions

View File

@@ -164,10 +164,15 @@ $(function(){
for (const note of notes) {
globalAllNoteIds.push(note.note_id);
note.title = note.note_title;
if (note.encryption > 0) {
note.title = "[encrypted]";
}
else {
note.title = note.note_title;
if (note.is_clone) {
note.title += " (clone)";
if (note.is_clone) {
note.title += " (clone)";
}
}
note.key = note.note_id;