pkdevbox / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

Drag Event Not Cloning Title #397

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by bham...@gmail.com on 24 Jan 2013 at 2:15

GoogleCodeExporter commented 8 years ago

Original comment by moo...@wwwendt.de on 24 Jan 2013 at 7:58

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r634.

Original comment by moo...@wwwendt.de on 24 Jan 2013 at 8:17