jquery/jquery-mobile — Issue #3612: ui-state-persist does not persist state in all cases
Author: stakach
Created: 2012-02-20 01:01:42+00:00
State: open

Using jquery.mobile 1.0.1

Create a multi-page document with a persistent footer.
The link that should be highlighted on each page has the classes: ui-btn-active ui-state-persist
Moving between pages works as expected however it fails in this case, assuming there are 2 pages: page1 and page2

* Start on page1
* Click page2 link (moves to page2, page two link is highlighted as expected)
* Click the page2 link again (nothing happens as expected)
* Click to page1 (working well)
* Click to page2 (moves to page2) page2 link is no longer highlighted!

The ui-state-persist class is still there and ui-btn-active is removed.