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,

Activity

added a commit that references this issue on Feb 10, 2012

Issue jquery-archive#3559: Force reloadPage settings when $.mobile.ch…

toddparker

toddparker commented on Feb 22, 2012

@toddparker
Contributor

Thanks, mind linking this to the feature requests wiki page?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @drazzib@toddparker

        Issue actions

          New feature: allow dynamic reloadPage settings for external url (in $.mobile.changePage) · Issue #3559 · jquery-archive/jquery-mobile