return to the main page doesn't fire pagebeforecreate or pagecreate ONLY the first time
Hi everybody!
I'm using jquery mobile since version 1.0 (today i'm using 1.2.0 RC2) , and i've a recurring problem.
I'm using it with knockout and i need to reload the content of the linked page. To do this, i call my
ko.applybindings when the
pagebeforecreate is called.
I also changed these variables when mobileinit is called:
$.mobile.page.prototype.options.domCache = false;
$.mobile.ajaxEnabled = true;
$.mobile.changePage.defaults.reloadPage = true;
It works when I reload any page and go to any other page, but when i come back to the first page,
pagebeforecreate is not fired. If i go to another page it works, and if i come back to the first page again, this time it works.
If you know how to fix this or how i can reload any page (even the first) without losing the beautiful screen transitions, i'm listening :)
thanks you