Skip to content
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 opened this issue Oct 7, 2011 · 2 comments
Closed

Comments

@haddnin
Copy link

haddnin commented Oct 7, 2011

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!

@johnbender
Copy link
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
Copy link
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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants