mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 17:55:52 +01:00
"move to new window" respects note hoisting of original tab
This commit is contained in:
@@ -39,7 +39,7 @@ async function checkNoteAccess(notePath, tabContext) {
|
||||
|
||||
if (hoistedNoteId !== 'root' && !resolvedNotePath.includes(hoistedNoteId)) {
|
||||
const confirmDialog = await import('../dialogs/confirm.js');
|
||||
console.trace("HI!", hoistedNoteId, notePath);
|
||||
|
||||
if (!await confirmDialog.confirm("Requested note is outside of hoisted note subtree and you must unhoist to access the note. Do you want to proceed with unhoisting?")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user