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

[BUG] Open project modal #226

Merged
merged 3 commits into from
Dec 29, 2016
Merged

[BUG] Open project modal #226

merged 3 commits into from
Dec 29, 2016

Conversation

ortichon
Copy link
Member

@ortichon ortichon commented Dec 28, 2016

Change Summary

More info

bindToController pass it's attributes to the controller only after the controller initiated.
so we got undefined for every variable we passed.
using $onInit lifecycle hook to extend the option variable with the userOptions variable solved the problem (the tree default mode is file and the projectFolder modal need folder mode) as well as the color theme problem.

Before you submit a PR, make sure you did the following things:

  • did you link this PR to an issue?
  • did you lint your changes to both javascript and scss?
  • "I'm pretty sure I'll be able to read and understand this PR, even if I wasn't the author." - said the PR author

@thatkookooguy thatkookooguy temporarily deployed to kibibit-demo-pr-226 December 29, 2016 14:42 Inactive
@thatkookooguy
Copy link
Member

very nice :-)

welcome back 👍

@ortichon
Copy link
Member Author

ortichon commented Dec 29, 2016

@thatkookooguy I never know if I should merge it myself after you aprove it :)
(BTW - I've replied to this message via Telegram, it's just awesome, we live in the future)

@thatkookooguy thatkookooguy merged commit a5c8f2c into master Dec 29, 2016
@thatkookooguy thatkookooguy deleted the bugfix-open-project-modal branch December 29, 2016 17:25
@thatkookooguy
Copy link
Member

merged it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Open Project" modal does not pass selected folder to main.ctrl
2 participants