Skip to content
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
@drazzib

Description

@drazzib

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,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions