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.

Dialog loads new page when ajaxEnabled=false and dialog is external. #2648

Closed
@haddnin

Description

@haddnin

When a dialog page is external and ajaxEnabled is false, the dialog loads in a new page instead of the dialog popup. I saw that there was a fix to "allow embedded/internal pages to be loaded as dialogs when clicking on @data-rel="dialog" links" (issue #2202), but not for external pages. Is there a fix in the works?

Thanx!

Activity

johnbender

johnbender commented on Oct 7, 2011

@johnbender
Contributor

@haddnin

I believe we'd have to transmit the intent for the page to be a dialog along with the request to support this and there's a danger there of mucking up a server request (reads: we won't be doing that). If you have access to the document where the page is defined you can give it the requisite data-role to render it as a dialog.

johnbender

johnbender commented on Oct 7, 2011

@johnbender
Contributor

@haddnin

I was wrong about the data-role=dialog working, and we can certainly address that as a feature addition. Added to the wiki page under navigation:

https://github.com/jquery/jquery-mobile/wiki/Feature-Requests

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @johnbender@haddnin

        Issue actions

          Dialog loads new page when ajaxEnabled=false and dialog is external. · Issue #2648 · jquery-archive/jquery-mobile