No response over on the UI list. Perhaps someone here knows...
Hi Folks, I think there's a problem with the serialization of nested lists inside Sortables. I have an altered version of the demo here: http://scott.sauyet.com/issues/2008-04-08a/ The Serialize button logs to the console if you have Firebug, otherwise it just does an alert. The original layout looks like this: * Drag us * around * and change o Lorem o Ipsum * our * positions o Something else o Foo bar and it serializes as item[]=0&item[]=1&item[]=2&item-2[]=0&item-2[]=1&item[]=3&item[]=4&item-4[]=0&item-4[]=1 If you move "our" after "Ipsum" in the nested list, you get * Drag us * around * and change o Lorem o Ipsum o our * positions o Something else o Foo bar which serializes as item[]=0&item[]=1&item[]=2&item-2[]=0&item-2[]=1&item[]=3&item[]=4&item-4[]=0&item-4[]=1 exactly the same as above. Clearly these two different structures should serialize differently. I can see that there is an extension point for the attribute, the key value, and the regex used in serialization, but I don't think there's a straightforward way to replace the actual serialization function without hacking into the source code. Can anyone suggest a way that I could get different behavior here? Thanks, -- Scott