You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
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');
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?
The text was updated successfully, but these errors were encountered: