From 06392af29694ad43037302b55c0247477b277f90 Mon Sep 17 00:00:00 2001 From: Bernhard Date: Tue, 30 Jun 2026 12:06:49 +0200 Subject: [PATCH] gh-14390: fix profile picker menu when creating new workspace (gh-14421) --- src/zen/spaces/ZenSpaceCreation.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/zen/spaces/ZenSpaceCreation.mjs b/src/zen/spaces/ZenSpaceCreation.mjs index 330ca9e02..c84a5bf7b 100644 --- a/src/zen/spaces/ZenSpaceCreation.mjs +++ b/src/zen/spaces/ZenSpaceCreation.mjs @@ -182,8 +182,8 @@ class nsZenWorkspaceCreation extends MozXULElement { this.onProfileCommand.bind(this) ); this.profilesPopup.addEventListener( - "popupshown", - this.onProfilePopupShown.bind(this) + "popupshowing", + this.onProfilePopupShowing.bind(this) ); this.profilesPopup.addEventListener( "command", @@ -296,7 +296,7 @@ class nsZenWorkspaceCreation extends MozXULElement { this.profilesPopup.openPopup(event.target, "after_start"); } - onProfilePopupShown(event) { + onProfilePopupShowing(event) { return window.createUserContextMenu(event, { isContextMenu: true, showDefaultTab: true,