New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pagebeforechange doesn't work with JQM 1.1.1 #53
Comments
Hi, Please provide some code if you find that something is off. |
For example, u can test the /test-bC.html. If u are on #localpage4 page and reload it, the index appears. |
Uh, the pagebeforechange event... For that specific test-case, it seems a jquery mobile bug to me but I've not yet debugged anything. However, I wouldn't recommend using that event from the router because it breaks other useful routes and somehow conflicts with the router itself. If you need to inject pages into the dom by hand, switch to a "fake" ajax approach, disable pushState and use the pagebeforeload event. In case this approach is not of your liking, I suggest you attach a pagebeforechange handler before the router javascript file is loaded and take things over from that point. |
I see what u mean, but for example if I do your last point, which seems quite ok, I might not need the plugin, don't u think? |
Il 13/07/2012 16:23, joanscript ha scritto:
Yeah, it would probably be less useful but still usable for certain I usually use the first approach for complex applications, it also keeps |
That is, the router doesn't work with the new version of the jQuery Mobile.
Could u please have a look on this issue?
Thanks
The text was updated successfully, but these errors were encountered: