Recently I've faced with a problem, described here:
http://dev.rubyonrails.org/ticket/4691
In short words, I've made a patch to dragdrop.js with several enhancements:
1. #4691 fix: you may add any branch under any node and, thus, create
new branch.
2. acts_as_nested_set & better_nested_set plugin integration. onChange
provides 2 more arguments: movement type and reference object
(drop-on-element). Three movements are supported: "left_to", "right_to"
and "to_child_of".
Does anybody want this patch to be included in release? I've searched
spin-offs' CHANGELOG and trac tickets, but haven't find already existed
solution. Maybe I've missed something.
Any comments are appreciated.
Oleg Andreev.
See also: http://opensource.symetrie.com/trac/better_nested_set/