Skip to content

2.20 broke DND for me #705

Closed
Closed
@chino23

Description

@chino23

c250f70 broke the DND for me.

It introduced the search for

find(">span.fancytree-title")

on the node.

However, my node is customized a bit and the fancytree-title class isn't a direct child, but one level down. So it throws errors when dragging.

I made it work by changing these lines
https://github.com/mar10/fancytree/blob/master/src/jquery.fancytree.dnd.js#L309
https://github.com/mar10/fancytree/blob/master/src/jquery.fancytree.dnd5.js#L165

to:

$targetTitle = $target.find("span.fancytree-title");

effectively removing the >

Could this be considered to be implemented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions