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

change of location closes modal #141

Merged
merged 1 commit into from
Jun 10, 2016

Conversation

joeprisk
Copy link

@joeprisk joeprisk commented Mar 3, 2016

moved modal close into a function and called On $locationChangeSuccess
cleans up the event listener if closed normally,
Added test to check for existence of dom object on $locationChangeSuccess

@dwmkerr dwmkerr merged commit fcb5a5f into dwmkerr:master Jun 10, 2016
@dwmkerr
Copy link
Owner

dwmkerr commented Jun 10, 2016

@kernowjoe thanks for this, great addition! adding to the contributors list now

@elliottregan
Copy link

How do I make it not do this?

I don't see this feature documented anywhere...

@elliottregan
Copy link

I opened a PR to generalize this feature to any $rootScope event. Any feedback would be great to hear: #215

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.

3 participants