-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ui.router.state.$state options (optional) reload (v0.2.5) #1933
Comments
I have find only one solution |
Why are you using such an old version? Latest is 0.2.14. Try upgrading to that (or 0.2.13) and see if your issue is fixed. |
I might be able to help, It appears the poster is referencing the docs here : https://github.com/angular-ui/ui-router/wiki/Quick-Reference#reloadonsearch-v025 I will say that there appears to be some breaking change introduced in the latest version of ui-router. When using I will post more when I zero in on what is actually calling the break. Even passing the I can confirm the bug is in |
@the-simian does your state have reloadOnSearch=false? . Also check if the activity in #1079 affects your issue. Please submit your new issue ASAP since we want to get 0.2.15 out right away to fix the bugs introduced in 0.2.14 that are not in 0.2.13 |
@christopherthielen I checked for that also, sorry I failed to mention it. I was wanting to try and repro with a plunkr. I'll go ahead and get the issue open, to catch anyone else looking for the same thing. |
#1963 now is created. I will try and make a simple example to repro. |
@borm can you please clearly state what the problem is? I cannot tell what you are asking. |
"name": "angular-ui-router", I need reload page in browser after state.go('myState') complete |
you want to reload the browser? Like re-fetch the JS and HTML and CSS from the server? If so, that's not a function of UI-Router. Use standard browser functions instead: https://developer.mozilla.org/en-US/docs/Web/API/Location/reload However, if you simply want to reload the UI-Router state (remaining in the running SPA), then use |
@christopherthielen Close |
@christopherthielen not |
@eddiemonge |
http://angular-ui.github.io/ui-router/site/#/api/ui.router.state.$state
reload (v0.2.5) - {boolean=false}, If true will force transition even if the state or params have not changed, aka a reload of the same state. It differs from reloadOnSearch because you'd use this when you want to force a reload when everything is the same, including search params.
Where version 0.2.5?
Or how reload page after state.go()
The text was updated successfully, but these errors were encountered: