Skip to content
This repository was archived by the owner on Apr 16, 2026. It is now read-only.

[vim] Make vim dialog work correctly#1509

Closed
njx wants to merge 1 commit intocodemirror:masterfrom
adobe:vim-dialog-fix
Closed

[vim] Make vim dialog work correctly#1509
njx wants to merge 1 commit intocodemirror:masterfrom
adobe:vim-dialog-fix

Conversation

@njx
Copy link
Copy Markdown

@njx njx commented May 7, 2013

Currently, running a vim command like :w doesn't work--it throws an exception when closing the dialog because it tries to call callback, which doesn't exist. If I'm understanding the code correctly, it should call onClose instead.

(It looks like this code has been in there for a long time, so I'm not sure why this hasn't caused a problem before--maybe no one is using the default implementation of openDialog().)

@mightyguava
Copy link
Copy Markdown
Contributor

You are right, my bad. Thanks for the fix.

@marijnh
Copy link
Copy Markdown
Member

marijnh commented May 8, 2013

Thank you. Merged.

@marijnh marijnh closed this May 8, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants