| Issue 397: | Drag Event Not Cloning Title | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Created tree with custom recursive code (processing JSON), using node.sddChild methods. When enabling drag/drop and dragging, node title not following the drag operation.
Discovered that when using addChild title is in a <span> block instead of an <a> block.
Found code line 2763 of 1.2.2:
.append($(event.target).closest('a').clone());
Changed it to
.append($(event.target).closest('a,span').clone());
and it now works as desired.
|
Labels: Milestone-Release1.2.3