Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Second modal window - possible? #49

Open
fulopattila122 opened this issue Apr 2, 2012 · 4 comments
Open

Second modal window - possible? #49

fulopattila122 opened this issue Apr 2, 2012 · 4 comments

Comments

@fulopattila122
Copy link

I have a request where I have to display small modal windows on an already opened modal window containing a form.
I added the click function on the modal form (as usual), and set the z-index of the second modal div to 9999. This way the second modal shows up well.

But when I close it, not only the second modal disappears, but also the background of the first modal.
The first modal remains visible, however it can't be closed. Only a page reload seems to help.

Is it possible to have a second reveal modal on an open reveal modal window?

@tyssen
Copy link

tyssen commented Jul 31, 2012

I've got the same request/issue.

@tyssen
Copy link

tyssen commented Jul 31, 2012

Actually, changing line 101 to $('.reveal-modal').trigger('reveal:close'); fixes this problem as it targets all divs with that class instead of just the parent of the close button being clicked.

@telnz
Copy link

telnz commented Apr 22, 2013

Re: "Actually, changing line 101 to $('.reveal-modal').trigger('reveal:close'); fixes this problem".
Would you mind including from what line (101) to $('.reveal-modal').trigger('reveal:close');

@namzo
Copy link

namzo commented May 8, 2014

It doesn't actually fix it. When you click out of the modal (without using the close button), the issue is still there.

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

No branches or pull requests

4 participants