-
Notifications
You must be signed in to change notification settings - Fork 4
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
extension stops the URL from being updated #12
Comments
OK through a bit of trial and error I have figured out that if I remove the final line of code - |
I'd say this behaviour all need rewriting and thinking out properly. It's just a horrible mess of circular hacks. |
@oliverfoster pageIncompletePrompt or router.js? |
Probably both. Mostly router.js The idea of preHooking, stopping and then later resuming the routing is reasonable. Obviously either the arguments or the url hash need to be captured and there needs to be some sensible method of passing a route back into the router ( Reverting or stopping a hash change in the browser history is a bit of a problem with the backbone router. Which is where all this daft code came from. |
fixed in v2.0.5 |
if you're on a page and you get the prompt, clicking 'Yes' will navigate to the new location but leave the location.hash unchanged i.e. if you're on co-05, click the menu button, click 'yes' on the prompt then you'll be returned to the menu but the URL will remain "index.html#/id/co-05" - but it should change to "index.html#/"
The text was updated successfully, but these errors were encountered: