| Issue 368: | Move fails for newly created nodes within one parent | |
| 3 people starred this issue and may be notified of changes. | Back to list |
jquery.dynatree.js line 1855 In the code, we just created new parent ul and need to add it to super parent. Instead we add it to parent: targetParent.li.appendChild(targetParent.ul); So, correct code will be: targetParent.parent.li.appendChild(targetParent.ul); What steps will reproduce the problem? 1. create node 1 2. create node 1/2 3. create nodes 1/2/test1 and 1/2/test2 4. move with api dynaChildren[1].move(dynaChildren[0], "before"); What version of the dynatree and jQuery are you using? dynaTree 1.2.2, jQuery 1.7.2 On what operating system and browser? Win764 chrome 15.0.874 What DOCTYPE declaration are you using? <!DOCTYPE html> Please provide any additional information below. I thinking this causes issue 270 and issue 323 . At least for my use case, issues disappeared after fix.
Feb 10, 2013
(No comment was entered for this change.)
Labels:
-Milestone-Release1.2.3 Milestone-Release1.2.4
Feb 12, 2013
1.2.4 was a hotfix
Labels:
-Milestone-Release1.2.4 Milestone-Release1.2.5
Sep 8, 2013
Issue 270 has been merged into this issue.
Oct 6, 2013
couldn't reproduce with current version; seems to be fixed (please confirm with 1.2.5)
Status:
Fixed
|
Labels: Milestone-Release1.2.3