katalyst/koi — pull request #6 by alexkg (2012-05-10 03:39:02+00:00)
Title: Refactored site-tree interface including controller save

Was getting errors on move, so decided to rewrite the save logic, including the savesort in the controller.

- The save logic now parses the HTML site-tree as a list of id/parent_id/left/right tuples

- The controller mass updates the tree using a single query for better performance and transaction-ness

- Simplified the JS so we don't need to dynamically give the `ol` the `.nav-items` class

- Removed redundant JS functionality

- Cleaned up the styles slightly