mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:05:55 +01:00
allow refreshing saved note, closes #304
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import noteDetailService from "./note_detail.js";
|
||||
import treeService from "./tree.js";
|
||||
|
||||
const $searchString = $("#search-string");
|
||||
const $component = $('#note-detail-search');
|
||||
const $refreshButton = $('#note-detail-search-refresh-results-button');
|
||||
|
||||
function getContent() {
|
||||
return JSON.stringify({
|
||||
@@ -25,6 +27,8 @@ function show() {
|
||||
$searchString.on('input', noteDetailService.noteChanged);
|
||||
}
|
||||
|
||||
$refreshButton.click(() => treeService.reload());
|
||||
|
||||
export default {
|
||||
getContent,
|
||||
show,
|
||||
|
||||
Reference in New Issue
Block a user