Skip to content


Auto-add back btn on pages beyond first view #3553

quanta42 opened this Issue · 2 comments

3 participants


I had a problem when dealing with back button.
In fact at this line:
$this should be $page.

Thanks for ghislain to have worked with me on this problem.

@gseguin gseguin was assigned
jQuery Foundation member

I talked with @johnbender who seems to agree with the fact that $this should be $page.


The back button logic needs to be evaluated during pageshow, not pagecreate. If you load page A navigate to page B, then return to page A, the back button will not show up! If you load page B first, then navigate to page A, the back button will show up! This also means that if you reset the urlHistory stack and then load the page, the back button could still show up!

@gseguin gseguin added a commit that closed this issue
@gseguin gseguin Fixes #3553 3a90c79
@gseguin gseguin closed this in 3a90c79
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.