mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
close currently active dialog if a different one is activated
This commit is contained in:
@@ -21,6 +21,8 @@ const $explodeArchivesCheckbox = $("#explode-archives-checkbox");
|
||||
let importId;
|
||||
|
||||
async function showDialog() {
|
||||
utils.closeActiveDialog();
|
||||
|
||||
// each opening of the dialog resets the importId so we don't associate it with previous imports anymore
|
||||
importId = '';
|
||||
$importProgressCountWrapper.hide();
|
||||
|
||||
Reference in New Issue
Block a user