Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Return the result of calling the original jquery focus() function #5364

Merged
merged 1 commit into from
Sep 27, 2013

Conversation

peterflynn
Copy link
Member

Same as PR #5346 - except without the conflicting 2nd commit that we wound up not needing due to #5350.

This commit
8e5ad95
fixed a focus issue with HTML menus. On Linux (where we still use HTML
menues), the new implementation of focus didn't return the result when
calling the original jquery focus implementation.

The result was an error opening modal dialogs like Extension Manager,
About Box, etc.
The dialogs didn't work properly anymore due to this error:
"Uncaught TypeError: Cannot call method 'trigger' of undefined" in bootstrap-
modal.js

This fix returns the result from calling the original focus function.
@peterflynn
Copy link
Member Author

@RaymondLim This is just @ingorichter's original commit. Good to merge?

@ghost ghost assigned RaymondLim Sep 27, 2013
@RaymondLim
Copy link
Contributor

Thanks @peterflynn. Merging.

RaymondLim added a commit that referenced this pull request Sep 27, 2013
Return the result of calling the original jquery focus() function
@RaymondLim RaymondLim merged commit 4b3352f into master Sep 27, 2013
@RaymondLim RaymondLim deleted the irichter/orig-fix-jquery-focus-issue branch September 27, 2013 18:23
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