Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

firstPage is not added to history when hashListeningEnabled is false #8006

Open
@Ajaxy

Description

@Ajaxy

Resuming #8005

Issue description
firstPage is not added to history when hashListeningEnabled is false. There is no posibility to go back to it or from it.

Test page (see below)
http://jsfiddle.net/j0xynapm/ — wrong navigation back from first page
http://jsfiddle.net/3vy56g6e/ — navigation back missing first page

Steps to reproduce
Turn off hashListeningEnabled setting and use $.mobile.navigate.history.* or $.mobile.back() or $.mobile.pageContainer.pagecontainer( "back" ).

Expected outcome
Every page should be added to history. Navigation should not miss pages.

Actual outcome
Cannot navigate back from first to last page (navigating back to the second one), cannot navigate back from second to first page (navigating back to the last one).

Platforms/browsers (including version) and devices tested
All.

jQuery Mobile and jQuery core version used
1.4.2 / 2.1.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions