Popup: Chaining popup > dialog > popup #4806

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

Comments

Projects
None yet
4 participants
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

Contributor

toddparker commented Aug 6, 2012

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?

Contributor

gabrielschulhof commented Aug 6, 2012

No, this should actually be working.

Contributor

gabrielschulhof commented Aug 7, 2012

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.

Contributor

toddparker commented Aug 7, 2012

@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

Contributor

gabrielschulhof commented Aug 7, 2012

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

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 added a commit to arschmitz/jquery-mobile that referenced this issue Oct 16, 2012

arschmitz added a commit to arschmitz/jquery-mobile that referenced this issue Oct 16, 2012

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