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

Fix hidden dialog when called from Bootstrap modal. #47

Closed
wants to merge 1 commit into from
Closed

Fix hidden dialog when called from Bootstrap modal. #47

wants to merge 1 commit into from

Conversation

rgrwatson85
Copy link

Dialog would appear underneath Bootstrap modals if they were being used as a form.
screen shot 2014-03-14 at 8 35 48 pm
screen shot 2014-03-14 at 8 34 10 pm

@@ -13,6 +13,7 @@ window.RecurringSelectDialog =

open_in = $("body")
open_in = $(".ui-page-active") if $(".ui-page-active").length
open_in = $(".modal") if $(".modal:visible").length
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rgrwatson85 Is there a better way to determine if this .modal is coming from Bootstrap? This has the potential to conflict with other peoples code if .modal means something else to them (and indeed it does in our app).

nathany added a commit that referenced this pull request Oct 1, 2014
@nathany
Copy link
Contributor

nathany commented Oct 1, 2014

@rgrwatson85 I'm reverting this in 1.2.3. Please open a new pull request with a better solution.

@nathany
Copy link
Contributor

nathany commented Oct 1, 2014

Modifying the z-index seems to work. See 7cc9dd6.

@nathany nathany closed this Oct 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants