DanielAmose / nestedsortables

Automatically exported from code.google.com/p/nestedsortables
GNU General Public License v2.0
0 stars 0 forks source link

nested list where ul is decented not child of li breaks when moving item to top #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
to recreate:
1.  create a nested reorderable list where the nested ul is not the direct 
child 
of its parent li 
(this is true of divs where this is actually relevant but i think using li ul 
makes 
it easier to explain)
2. try moving an item to the top of the nested list

you would expect the item to be moved to the top of the ul

but infact a new ul that is the direct child of the li is created

i've attached a patch to fix this

Original issue reported on code.google.com by msaspe...@gmail.com on 8 Mar 2010 at 11:59

Attachments:

GoogleCodeExporter commented 9 years ago
sorry this patch has caused other problems
with it you can no longer place an item after a nested list
its a start though

Original comment by msaspe...@gmail.com on 8 Mar 2010 at 12:15