initial implementation of tree prefix

This commit is contained in:
azivner
2017-11-26 22:34:25 -05:00
parent b4e6245f7b
commit 160c1c455c
8 changed files with 9678 additions and 4 deletions

View File

@@ -143,7 +143,7 @@ const noteTree = (function() {
note_pid: noteTree.note_pid,
note_tree_id: noteTree.note_tree_id,
is_protected: noteTree.is_protected,
title: noteIdToTitle[noteTree.note_id],
title: (noteTree.prefix ? (noteTree.prefix + " - ") : "") + noteIdToTitle[noteTree.note_id],
extraClasses: getExtraClasses(noteTree),
refKey: noteTree.note_id,
expanded: noteTree.is_expanded