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: fix excel setup when enabling the Office viewer via options #126

Merged
merged 2 commits into from
May 22, 2017
Merged

Fix: fix excel setup when enabling the Office viewer via options #126

merged 2 commits into from
May 22, 2017

Conversation

jeremypress
Copy link
Contributor

Previous Logic:
If there's an Office viewers object, use the flag, if not set it to true.

New Logic:
If there's an Office viewers object AND a setup flag, use the flag. If not set it to true.

Fixes the case where we enable viewers in the preview config (on show), which would create an object but not pass a setup flag, since we don't expect .

@jeremypress jeremypress merged commit e8145f5 into box:master May 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants