This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
New feature: allow dynamic reloadPage settings for external url (in $.mobile.changePage) #3559
Closed
Description
Hi,
I'm looking for a way to change reloadPage dynamically (ie. without programmatic call and with only default jQM href Hijax handling). In my case, I would like to always reload every remotes pages (form submit but also simple href to remotes pages).
As a quick and dirty hack, I've modified $.mobile._registerInternalEvents method to force reloadPage in case of remotes jQM pages :
var shouldReloadPage = path.isExternal(href); $.mobile.changePage( href, { transition: transition, reverse: reverse, role: role, reloadPage: shouldReloadPage } );
Regards,
Activity
Issue jquery-archive#3559: Force reloadPage settings when $.mobile.ch…
toddparker commentedon Feb 22, 2012
Thanks, mind linking this to the feature requests wiki page?
drazzib commentedon Mar 7, 2012
Done : https://github.com/jquery/jquery-mobile/wiki/Feature-Requests/_compare/a1951559a0aa6b69d2717e915ab435a0d2dd1015...7c047c58b7d040b582838b31641619b683b69bed