jQuery Draggable Randomly Broken?

A while back, I made a page on my site that uses jQuery, which has divs on it that are resizable and draggable. In the past it has worked flawlessly:

This is the code I’ve been using:

$('#position_'+position).resizable({
    animate: true,
    handles: 'e, s, w, se, sw',
    helper: 'multiBlank-helper',
    start: function( event, ui ) { $('.multiBlank').append('<div class="overlay"></div>'); },
    stop: function( event, ui ) { $('.multiBlank .overlay').remove(); },
}).draggable({
    handle: '.info',
    opacity: 0.75,
    snap: true,
    snapTolerance: 10,
    stack: { group: '.multiBlank', min: 100 },
    start: function( event, ui ) { $('.multiBlank').append('<div class="overlay"></div>'); },
    stop: function( event, ui ) { $('.multiBlank .overlay').remove(); },
});

However, I find out today that its no longer working. The elements are still resizable without any issues. But when I try to drag them arround I get the following error:

Uncaught TypeError: Cannot read property 'defaultView' of undefined

I dont know exactly when it broke. But I’m assuming it was with a past upgrade to jQuery. Can anyone help me figure this out and what I need to do to get it working again?


Download jquery.draggable.randomly.broken.zip
Direct Link


Download


Download jquery.draggable.randomly.broken.zip
Mediafire


Download


Download jquery.draggable.randomly.broken.zip
Keep2Share


Download


Download jquery.draggable.randomly.broken.zip
Rapidgator


Download


Download jquery.draggable.randomly.broken.zip
Xerver


Download

Both comments and pings are currently closed.

Comments are closed.