jQuery-ui-draggable-collision not working with jQuery-ui 1.11.2

709 views Asked by At

I'm using the JQuery UI Draggable Collision plugin. When I change the jQuery UI from 1.9.2 (in the plugin examples folder) to the latest 1.11.2, the dragging stops working.

The same symptom can be seen here jsfiddle.net/MrAdE/11/ if you change the jQuery version to 2.0.2 so you can select jQuery UI 1.10.3.

My browser console shows errors in the jquery-ui-draggable-collision.js file, everytime the .data() function is used:

  • TypeError: $(...).data(...) is undefined

Can anybody help me overcoming this? I'd like to use the plugin but I don't want to get stuck in the jQuery ui 1.9.2 because of it.

Many thanks

0

There are 0 answers