added possibility to search by attached script returning note ids + some refactorings

This commit is contained in:
zadam
2019-03-20 22:28:54 +01:00
parent 9ca680f842
commit fc13e1fa6a
21 changed files with 125 additions and 62 deletions

View File

@@ -138,7 +138,7 @@ function registerEntrypoints() {
// FIXME: do we really need these at this point?
utils.bindShortcut("ctrl+shift+up", () => {
const node = treeService.getCurrentNode();
const node = treeService.getActiveNode();
node.navigate($.ui.keyCode.UP, true);
$("#note-detail-text").focus();
@@ -147,7 +147,7 @@ function registerEntrypoints() {
// FIXME: do we really need these at this point?
utils.bindShortcut("ctrl+shift+down", () => {
const node = treeService.getCurrentNode();
const node = treeService.getActiveNode();
node.navigate($.ui.keyCode.DOWN, true);
$("#note-detail-text").focus();