Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Popup: Chaining popup > dialog > popup #4806

Closed
MauriceG opened this issue Aug 6, 2012 · 6 comments
Closed

Popup: Chaining popup > dialog > popup #4806

MauriceG opened this issue Aug 6, 2012 · 6 comments

Comments

@MauriceG
Copy link
Contributor

MauriceG commented Aug 6, 2012

jQM 1.2 A.1

When opening a dialog from a popup and call another popup from that dialog does not work.

Demo at: http://jsfiddle.net/MauriceG/sC9xL/show/light (http://jsfiddle.net/MauriceG/sC9xL/)

Related issue #4767

@toddparker
Copy link
Contributor

This is the same limitation as chaining popups I believe. Both use the same hash mechanisms. I think we just may need to update the docs to say you can't open another popup or a dialog from a popup. @gabrielschulhof?

@gabrielschulhof
Copy link

No, this should actually be working.

@gabrielschulhof
Copy link

This is a bug that's been around since at least 1.0:

Page -> Dialog -> Dialog <- Back <- Back -> Forward -> Dialog <- Back

In the above sequence, when you go forward, it skips past the first stale dialog entry - which is correct, but there are nothing but stale dialog entries all the way to the end of the history.

@toddparker
Copy link
Contributor

@gabrielschulhof - that is a problem for sure but that doesn't seem to be the issue here. This is broken if you jus tgo from a popup to a dialog, right?

@ghost ghost assigned gabrielschulhof Aug 7, 2012
@gabrielschulhof
Copy link

OK, you're right. I should fix this issue and leave the sequence I mentioned unfixed, and make a separate issue for that.

@xshhe82
Copy link

xshhe82 commented Aug 14, 2012

popup1 call popup2 like this:
popup1: {window.setTimeout(function(){callback();}, 200); callback: {popup2}

when the 200 is set too small ,it will not work;

arschmitz pushed a commit to arschmitz/jquery-mobile that referenced this issue Oct 16, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants