EasyUI Forum

General Category => Bug Report => Topic started by: Ellipsis on March 21, 2013, 04:08:14 AM



Title: EasyUI conflicts with Bootstrap
Post by: Ellipsis on March 21, 2013, 04:08:14 AM
see http://www.jeasyui.com/forum/index.php?topic=1515.msg3190#msg3190 (http://www.jeasyui.com/forum/index.php?topic=1515.msg3190#msg3190)

For now I disabled some Bootstrap functionality (that I used ...)

I would suggest renaming the easyUi functions to a more safe unique name, to prevent functions to occupy the same function name. The current chosen names will likely conflict with other jQuery plugins, of course the other jQuery plugins should also use more safe function names.

 

 


Title: Re: EasyUI conflicts with Bootstrap
Post by: stworthy on March 21, 2013, 06:09:22 PM
You should include the 'jquery.easyui.min.js' file after the 'bootstrap.min.js' file in your page head.


Title: Re: EasyUI conflicts with Bootstrap
Post by: Ellipsis on March 21, 2013, 10:34:59 PM
The bootstrap.min.js is loaded first, then the easyloader loads the required plugins. (At the moment)

What is the difference when loading the easyui min js (a part from being a bit large). The bootstrap functions are still 'overwritten' I presume  and I suspect event conflicts to still be there.