EasyUI Forum
May 16, 2024, 12:31:13 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Bug when using Portal extension and Jquery UI  (Read 7775 times)
jgautier
Newbie
*
Posts: 20


View Profile
« 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
Logged
jarry
Administrator
Hero Member
*****
Posts: 2264


View Profile Email
« Reply #1 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.
Logged
jgautier
Newbie
*
Posts: 20


View Profile
« Reply #2 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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!