Skip to content

Pass workspace id to contextmenu-show#1429

Merged
sawka merged 2 commits into
mainfrom
evan/context-menu-fix
Dec 7, 2024
Merged

Pass workspace id to contextmenu-show#1429
sawka merged 2 commits into
mainfrom
evan/context-menu-fix

Conversation

@esimkowitz
Copy link
Copy Markdown
Contributor

Sometimes, the context menu click handlers don't seem to get passed any window object. Here, I'm sending over the workspace id with the contextmenu-show event so that we can resolve our cached copy of the object in case the value from the click handler is empty.

@sawka sawka merged commit f858d3b into main Dec 7, 2024
@sawka sawka deleted the evan/context-menu-fix branch December 7, 2024 03:10
xxyy2024 pushed a commit to xxyy2024/waveterm_aipy that referenced this pull request Jun 24, 2025
Sometimes, the context menu click handlers don't seem to get passed any
window object. Here, I'm sending over the workspace id with the
`contextmenu-show` event so that we can resolve our cached copy of the
object in case the value from the click handler is empty.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants