| Issue 319: | Moving a newly added node fails if it has never been rendered | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. perform: newNode = sourceNode.AddChild 2. Move the newly added node: newNode.moce(sourceNode,'after') Attached file What is the expected output? What do you see instead? Expected: The newly added node is moved correctly. Currently: The move fails and then you can't drill into the sourceNode to view the new node even though the sourceNode still displays the expansion icon. What version of the dynatree and jQuery are you using? 1.21 & 1.7.1 (also tried 1.2 and 1.7.2) On what operating system and browser? Vista 64bit, Chrome 19, IE9 What DOCTYPE declaration are you using? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> Also tried: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Please provide any additional information below. The only way to get it to work that I have found is to perform an expand on the sourceNode just prior to moving the newNode. This then generates an LI for the newNode and the move works fine. It seems that move assumes that the node being moved must be visible.
Jun 3, 2012
(No comment was entered for this change.)
Status:
Accepted
Labels: Milestone-Release1.2.1 |
99 KB View Download