Skip to content

$stateChangeStart event being called twice #498

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

Closed
geemang2000 opened this issue Oct 12, 2013 · 2 comments
Closed

$stateChangeStart event being called twice #498

geemang2000 opened this issue Oct 12, 2013 · 2 comments

Comments

@geemang2000
Copy link

I'm having an issue where my $stateChangeStart handler is being called twice.

HOW TO TEST: Open your javascript console, then click the "next" link.

See the plnk here: http://plnkr.co/edit/RRkqmI28IkhAQ8IwrNU9

I'm doing session validation logic in the handler. Really don't need to duplicate calls.

NOTE: this seems to happen with templateUrl not template

@KohPoll
Copy link

KohPoll commented Oct 23, 2013

I am also having this problem。In my situation, it seems to happen when I give the resolve to the state config.

@nateabele
Copy link
Contributor

Duplicate, please see #350.

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

No branches or pull requests

3 participants