Dhtmltree sort with childs incorrect?

There is a problem when dragging an element.

Example:

You open a main element and then open a child.

Then you close the main element without closing the child first.

When you then try to drag another element behind the main element first mentioned, the dragged element won’t appear behind the first mentioned element, it appears inside of this element in the child we didn’t close.



Any solutions?



Thanks in advance.

Best Regards

Stefan Renneke

When you then try to drag another element behind the main element first mentioned
Please try to use attached patch ( just add its content to the end of dhtmlxtree.js or include after other js files ) - it must resolve not-expected behavior.

tree_patch.zip (583 Bytes)


Thank you for help, but the patch works only in non ie browers.



ie6 (it works not)
ie7 (not tested)
ie8 (it works not)



Firefox 3 (it works)
Opera 9.6 (it works)
Safari 4 (it works)
Google Chrome (it works)



Best Regards
Stefan Renneke


Hello,


please, try to use the new patch instead of one provided before. Locally tests were successful withit.


Hello,



did you forgot to attach the new patch?

Sorry. The file is attached
tree_patch2.zip (594 Bytes)