prefixes are now displayed also in all autocompletes and recent notes

This commit is contained in:
azivner
2017-11-29 22:03:03 -05:00
parent 69f77ac439
commit 8bd76721ad
7 changed files with 36 additions and 38 deletions

View File

@@ -48,7 +48,7 @@ const recentNotes = (function() {
const recNotes = list.filter(note => note !== noteTree.getCurrentNotePath());
$.each(recNotes, (key, valueNotePath) => {
const noteTitle = treeUtils.getFullNameForPath(valueNotePath);
const noteTitle = noteTree.getNotePathTitle(valueNotePath);
const option = $("<option></option>")
.attr("value", valueNotePath)
@@ -82,8 +82,9 @@ const recentNotes = (function() {
function addLinkBasedOnRecentNotes() {
const notePath = getSelectedNotePath();
const noteId = treeUtils.getNoteIdFromNotePath(notePath);
const linkTitle = noteTree.getNoteTitle(notePath);
const linkTitle = noteTree.getNoteTitle(noteId);
dialogEl.dialog("close");