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

Bootstrap conflict with Jquery UI dialog's close button. #13525

Closed
ve3 opened this issue May 7, 2014 · 4 comments
Closed

Bootstrap conflict with Jquery UI dialog's close button. #13525

ve3 opened this issue May 7, 2014 · 4 comments
Labels

Comments

@ve3
Copy link

ve3 commented May 7, 2014

example code:

<div id="dialog" title="Jquery UI dialog">
    <p>bla bla bla</p>
</div>

<script src="js/jquery-ui.js"></script>
<script src="js/bootstrap.js"></script>
<script>
    $(function() {
        $('#dialog').dialog();// jquery UI dialog
    });
</script>

If Jquery UI comes before Bootstrap, the close button in Jquery UI dialog will not work.
If Bootstrap comes before Jquery UI, I'm not sure but as i see everything works fine.

Please fix this conflict. 👍

@cvrebert
Copy link
Collaborator

cvrebert commented May 7, 2014

Bootstrap's noConflict() mode has been fixed in the upcoming v3.2.0 release thanks to #11966.

@cvrebert cvrebert closed this as completed May 7, 2014
@cvrebert cvrebert added the js label May 7, 2014
@cvrebert
Copy link
Collaborator

cvrebert commented May 7, 2014

Ah, sorry. That's not a simple namespace conflict. I need coffee...

@cvrebert
Copy link
Collaborator

cvrebert commented May 7, 2014

Anyhow, leaving this closed per our third-party library policy:

Bootstrap does not officially support third-party JavaScript libraries like Prototype or jQuery UI. Despite .noConflict and namespaced events, there may be compatibility problems that you need to fix on your own.

However, if you do figure out the cause of the conflict and have a reasonable solution to propose, we would of course be open to considering it.

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

No branches or pull requests

3 participants