Hi all,
In my local site i using Jquery update(6.x-2.0-alpha1), it will clash Jquery UI .droppable(6.x-1.4) functionality.
First i enabled Jquery UI module and i use .droppable() function to my drag & drop functionlity. All things are working fine until i enable Jquery update module. Once i enabled it, it will affect the drag & drop functionality. It cause the following error.
Error : inst is undefined in ui.dropppable.js(/jquery_ui/jquery.ui/ui/)
var inst = $.data(this, 'droppable');
if(inst.options.greedy && $.ui.intersect(draggable, $.extend(inst, { offset: inst.element.offset() }), inst.options.tolerance)) {
childrenIntersection = true; return false;
}
Cause 1: I think Jquery update module will cause this error. Because after enabling this module only droppable function won't work.
Cause 2: I also think some Jquery, Jquery UI version won't support this droppable functionality.
I using the following version.
jQuery UI 1.6 version
jQuery Update 1.3.2 version
I also attached the error screen shot. It will help little bit to find the Cause and solution.
Can any one help me to find out solution.
Thanks & Regards
Sarav.
Comment | File | Size | Author |
---|---|---|---|
droppable.jpg | 34.16 KB | sarav.din33 |
Comments
Comment #1
sarav.din33 CreditAttribution: sarav.din33 commentedI got solution when i updating Jquery UI plug-in version from 1.6 to 1.78. Jquery UI version will cause this issue.
Thanks & Regards
Sarav.
Comment #2
markhalliwellDrupal 6 reached EOL (end-of-life) on February 24, 2016.