Skip to content

Possible Problem with DND5 #928

@pschaeffer

Description

@pschaeffer

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions