Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Moved ImageBalloonPanelView focus tracking to init() method #49

Merged
merged 3 commits into from
Feb 9, 2017
Merged

Conversation

szymonkups
Copy link
Contributor

@szymonkups szymonkups commented Feb 3, 2017

Proposed merge commit message

Fix: Moved focus tracking setup in ImageBalloonPanelView to init() method. Closes ckeditor/ckeditor5#5060.

@szymonkups szymonkups changed the title ImageBalloonPanelView Moved ImageBalloonPanelView focus tracking to init() method Feb 3, 2017
* @inheritDoc
*/
init() {
super.init();
Copy link
Member

Choose a reason for hiding this comment

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

This may return a promise. Switch the order of calls in this function and return the result of super.init() – that'd be the easiest solution. And remember to write a test that a promise is returned ;)

Copy link
Member

Choose a reason for hiding this comment

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

PS. I wouldn't require that if BalloonPanelView was from this package. But it's a separate package so it can change independently.

@Reinmar Reinmar merged commit 985e509 into master Feb 9, 2017
@Reinmar Reinmar deleted the t/42 branch February 9, 2017 20:46
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.

Fix the extend-template-render warning
2 participants