PDA

View Full Version : [solved] Bug when Drag and drop in folder of a Tree



Footeuz
24 Aug 2007, 1:49 AM
Hello,

My problem is that I have 2 Trees.
And when I drag an element to the right tree in the parent folder, it add the element many times !
There is no problem when i drag it between the element lines.

And it does it only when I clicked before to a reset button (which made a new TreeTest.init)
('scuse my english... it's difficult to explain)

And I think that's linked because :
when i click one time to "reset" then it add 2 elements to the left
when i click 2 timee to "reset" then it add 3 elements to the left
etc...

Animal
24 Aug 2007, 2:33 AM
The reset button is creating a new Tree? Looks like the old one is still there!

You should just reload the root node.

Footeuz
24 Aug 2007, 3:48 AM
Fine :)

I did a root reload for another buttons.
So I change it for this one and all works good. :D

Thanks