EasyUI Forum

General Category => Bug Report => Topic started by: jgautier on August 10, 2014, 10:18:55 AM



Title: Bug when using Portal extension and Jquery UI
Post by: jgautier on August 10, 2014, 10:18:55 AM
Hi,

I use Jquery UI and Easyui together : everything is correct.

But when I try to use portal extension, portal fails to load and I receive this js error :
Quote
[Error] TypeError: 'undefined' is not a function (evaluating '$('#portal').portal')
   (fonction anonyme) (index.php, line 128)
   j (jquery-2.1.1.min.js, line 2)
   fireWith (jquery-2.1.1.min.js, line 2)
   ready (jquery-2.1.1.min.js, line 2)
   I (jquery-2.1.1.min.js, line 2)

It fails with jqueryUI 1.10.4 (the one i use) and 1.11.0 also.
Can you tell me why and if there's a way to fix that ?

Thanks a lot,

JG


Title: Re: Bug when using Portal extension and Jquery UI
Post by: jarry on August 10, 2014, 05:07:28 PM
There are same 'draggable' and 'droppable' plugins in these two libraries. When using them together, some conflicts occur. You have to use single library instead.


Title: Re: Bug when using Portal extension and Jquery UI
Post by: jgautier on August 10, 2014, 11:51:47 PM
You're right : thanks a lot !
If I use JqueryUI without droppable and draggable plugins, there's no more conflict with portal extension.

JG