-
-
Notifications
You must be signed in to change notification settings - Fork 608
Closed
Description
Hi,
This is Peter Schaeffer. I posted this question/possible issue over one Stack Overflow. I believe you suggested that I post this question/possible issue here.
I have found that if preventNonNodes is set to true, then the dragEnter() function is never invoked. The reason is line 682 in jquery.fancytree.dnd5.js. That line reads "if (dndOpts.preventNonNodes && !nodeData) {", In practice, nonData is always undefined. As a consequence, setting preventNonNodes to true, causes the dragEnter function to be bypassed.
Of course, in your code it might not be line 682.