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

Conflict with bootstrap.js #740

Closed
anfrantic opened this issue Dec 12, 2013 · 3 comments
Closed

Conflict with bootstrap.js #740

anfrantic opened this issue Dec 12, 2013 · 3 comments

Comments

@anfrantic
Copy link

Conflicts with bootstrap.js v.3 resize dialog fails

@jranck88
Copy link

The issue here is that Bootstrap takes over the button functionality, you can add the following to default back to jQuery UI:

var btn = $.fn.button.noConflict(); // reverts $.fn.button to jqueryui btn
$.fn.btn = btn; // assigns bootstrap button functionality to $.fn.btn

This will change Bootstrap so if you're using button() you'll need to adjust accordingly.

@baur79
Copy link

baur79 commented May 22, 2014

thanks for solution, i had same error

@dfernandez-dev
Copy link

Hi guys, I have problems when resizing jquery-ui dialogs as well.
I've added the lines that @jranck88 suggested and all worked ok with the button but I'm also having conflicts with the right margin of the dialog; it is increased every time that I resize the box (if removing bootstrap css the problem disappears an also all the style hehe)
Any ideas on how to fix this?

Thanks in advance,
Daniela.

I've created a jsfiddle showing the error :)
http://jsfiddle.net/dani2688/6m4VN/

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

No branches or pull requests

5 participants