From 17860e6715ff2cc9e99075d1c20fedde88d35211 Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Wed, 12 Feb 2025 09:00:57 +0100 Subject: [PATCH] fix(note_type_choosers): fix glob.activeDialog assignment the same thing is done in `confirm.ts` as well, where glob.activeDialog is set to `this.$widget` --- src/public/app/widgets/dialogs/note_type_chooser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/widgets/dialogs/note_type_chooser.ts b/src/public/app/widgets/dialogs/note_type_chooser.ts index 06822e6ed..40b942481 100644 --- a/src/public/app/widgets/dialogs/note_type_chooser.ts +++ b/src/public/app/widgets/dialogs/note_type_chooser.ts @@ -139,7 +139,7 @@ export default class NoteTypeChooserDialog extends BasicWidget { this.dropdown.show(); this.$originalDialog = glob.activeDialog; - glob.activeDialog = this.modal; + glob.activeDialog = this.$widget; this.modal.show(); this.$noteTypeDropdown.find(".dropdown-item:first").focus();