Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

JQM 1.2.-Alpha popup widget not loading when opened more than twise #4796

Closed
mogisumjnk opened this Issue · 5 comments

4 participants

@mogisumjnk

I was trying with JQM 1.2 Alpha popup widget and came across an issue. I do have a workflow process which shows up a popup dialog with ok and cancel button ( i call it as confirmation dialog) . the call back event of ok button would again show up another popup with ok button like alert ( calling it as alert box) . the second alert box is not showing up when called from the confirmation box. But works well when called separately.

@MauriceG

Hi @mogisumjnk
This time popup chaining is not supported,
Please take a look at http://jquerymobile.com/demos/1.2.0-alpha.1/docs/pages/popup/index.html, last paragraph.
Thanks
Maurice

@jaspermdegroot
Collaborator

@gabrielschulhof

Is it not possible to open a second popup by binding to the popupafterclose event of the first popup?
I tried with this example: http://jsbin.com/atahip/38/edit

@MauriceG

@gabrielschulhof @uGoMobi

It is also not possible to close and immediate open another popup programatically.

I've tested some ways how to fake-chain popups: http://jsfiddle.net/MauriceG/m3Fwt/show/light/

Maurice

@gabrielschulhof
Collaborator

Chaining popups is not trivial. That's why we're leaving it out of 1.2. I have some code to chain popups, and if there's enough demand, we may add it after 1.2. Please feel free to file a feature request for chained popups. That should be a good place to measure demand for such a feature.

@jaspermdegroot
Collaborator

@mogisumjnk

See #4968 for the solution.

@MauriceG MauriceG referenced this issue from a commit in MauriceG/jquery-mobile
@MauriceG MauriceG Docs: Adds a note about popup chaining with a timeout (popup/index.html)
Also addressed to #4796 and #4968
95a0fa9
@arschmitz arschmitz referenced this issue from a commit in arschmitz/jquery-mobile
@MauriceG MauriceG Docs: Adds a note about popup chaining with a timeout (popup/index.html)
Also addressed to #4796 and #4968
c7bb1ff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.