Since bodhi's code it much nicer than mine I used his as a base to add the reparenting code on to. His code also has the benefit of using a lists and spans for layout which is much nicer to work with the tables in the present version of the page's page.
This patch has been added to the http://dev.radiantcms.org/radiant/ ticket/199 ticket. On Aug 3, 2006, at 11:12 PM, bodhi wrote: > Hi All, > > Sorry to step on your toes Erik, but I was halfway through this when > you posted your patch (which I haven't had a chance to look at just > yet). I converted the page list from tables to lists, and used > scriptaculous to order pages. It doesnt do reparenting, so only allows > you to sort children, not move children to different sections. > > It's a pretty invasive patch, but I did get to remove most of the > javascript from admin/pages/index.rhtml (I enjoy deleting > code :) ). If > anyone could take a look at it and see how it works for them, it would > be much appreciated: > > http://dev.radiantcms.org/radiant/ticket/199 > > It breaks a few of the unit tests (due to the sorting) and I haven't > tested it on Internet Explorer yet. > > Bodhi > > _______________________________________________ > Radiant mailing list > [email protected] > http://lists.radiantcms.org/mailman/listinfo/radiant _______________________________________________ Radiant mailing list [email protected] http://lists.radiantcms.org/mailman/listinfo/radiant
