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(modal): should not get value property when modal is undefined #260

Merged
merged 1 commit into from
Oct 13, 2015

Conversation

YvonneYu
Copy link

Hi,

We found out that it will though exception by calling 'value' property when no modal instance exist.
exception: TypeError: Cannot read property 'value' of undefined

Moreover, we found out there is similar issue for angular-bootstrap. Thus, the same fixed will fix in angualr-foundation as well.
angular-ui/bootstrap#1972

Hope it help. Thank you

@jbrowning
Copy link
Member

👍 thanks for sending this in, @YvonneYu.

jbrowning added a commit that referenced this pull request Oct 13, 2015
fix(modal): should not get value property when modal is undefined
@jbrowning jbrowning merged commit 8c7a5ed into yalabot:master Oct 13, 2015
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