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 the case where src is still not having a value #37

Merged
merged 1 commit into from
Dec 19, 2016

Conversation

delian
Copy link
Contributor

@delian delian commented Dec 11, 2016

Hello,

I am suggesting small but valuable change. It fixes a crash of the pdf-viewer when it is evaluated as a component within a template of another component, who has not been yet fully initialized. In such case the "src" value may not be yet defined, but in the current code loadPDF is called and it crashes and never being executed again. This small patch is trying to avoid this and I hope it will be accepted

@VadimDez VadimDez merged commit 46bac29 into VadimDez:master Dec 19, 2016
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