firstPage
is not added to history when hashListeningEnabled
is false
#8006
Description
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