mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 09:16:45 +01:00
fix note export/import/branch prefix to use right-clicked note as opposed to current active
This commit is contained in:
@@ -142,10 +142,10 @@ $noteTabContainer.on("click", ".export-note-button", function () {
|
||||
return;
|
||||
}
|
||||
|
||||
exportDialog.showDialog('single');
|
||||
exportDialog.showDialog(treeService.getActiveNode(), 'single');
|
||||
});
|
||||
|
||||
$noteTabContainer.on("click", ".import-files-button", importDialog.showDialog);
|
||||
$noteTabContainer.on("click", ".import-files-button", () => importDialog.showDialog(treeService.getActiveNode()));
|
||||
|
||||
$('[data-toggle="tooltip"]').tooltip({
|
||||
html: true
|
||||
|
||||
Reference in New Issue
Block a user