Nobody have found this problem?

Please help me with this.


2006/7/20, Javier Martinez <[EMAIL PROTECTED]>:
I have a sortable with 3 nodes in tree mode

-A (id : 10)
-B (id : 20)
-C (id : 30)

At this time, if I make a serialize, I can see: Array ( [0] => 10 [1] => 20 [2] => 30 ), what is correct and previsible.

Then I insert the node B into A, and C into B

-A
------B
------------C


Now, if I make a serialize I see: Array ( [0] => Array ( [0] => Array ( [0] => 30 ) ) )

This time I have lost the way the list is constructed. I don't know where is my id 20 and my id 10.

How can I save this situation?

Thanks.

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to