Closed lucasgonze closed 11 years ago
http://localhost:5000/inbox/a87ff679a2f3e71d9181a67b7542122c?autopilot=on# OK
back button goes to to http://localhost:5000/demo/blank?autopilot=on# BROKEN
in a correct run, this is the link: http://localhost:5000/demo/blank?autopilot=on#jTour=6
ah, ok, I understand why the back button doesn't work - when it goes back it returns to the no-hash path rather than the #jTour=6 path.
Now I just need to understand how to make the no-hash path work
The way the #jTour=6 bit works is that the jTour library grabs it fast and rewrites the visible path to remove it, so the user never sees it. The path visible to the user is /demo/blank?autopilot=on# , with no #jTour tag.
Maybe what's happening is that jTour is rewriting the path without the #jTour bit and then actually loading that new URL.
The cause of the problem was all the complexity around the autopilot flag. The fix is to get rid of it.
When it does die, the URL is always http://www.safeharbor.in/demo/blank?autopilot=on#
And it makes sense that it dies there, because that has no step ID. I don't think it's possible for it to go on at that point, no matter what.
So the cause is either: