tags:

views:

70

answers:

1

I have a external draggable object (draggable implemented through jstee's dnd) on which I need to perform a check before the object starts dragging.

I'm looking for a method much like "drag_finish" or a binding I can use, but at the start of the dragging event.

+1  A: 
$(document).bind("drag_start.vakata", function (e, data) { 
  if(data.data.jstree) { 
    // add your code here 
  } 
}); 

Binding to the document did the trick

Byron Cobb