Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix command mode & popup view bug #5014

Merged
merged 2 commits into from Feb 4, 2014
Merged

Conversation

jdfreder
Copy link
Member

@jdfreder jdfreder commented Feb 4, 2014

Added elements property to PopupView

Added elements property to PopupView
IPython.keyboard_manager.register_events(view.elements[i]);
}
} else {
IPython.keyboard_manager.register_events(view.$el);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does view.$el exist when view.elements is defined? If so, shouldn't this block be unconditional, rather than in an else block?

also s/elements/additional_elements
@jdfreder
Copy link
Member Author

jdfreder commented Feb 4, 2014

@minrk I changed things a bit so $el is unconditionally registered.

minrk added a commit that referenced this pull request Feb 4, 2014
Fix command mode & popup view bug
@minrk minrk merged commit 542ced6 into ipython:master Feb 4, 2014
@jdfreder jdfreder deleted the widget-popup-keys branch March 10, 2014 18:44
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants