Forcing JQuery Mobile to reload first page as well
So I noticed that the first page you open will always be in the DOM and if you ever get back to this first page via data-ajax it will just unhide this page. And here is my problem:
I start on my basket page
Go to a product detail page via data-ajax and add this item to my basket via an ajax call
I go back to my basket page via data-ajax and my basket does NOT contain the added item because it just unhides the page and doesn't reload the basket page.
Is there anyway to solve this. I know I could just set data-ajax to false for the basket link but I don't understand why it gets every page via a data-ajax call except for the start page ..