Sortable tree fixed (adding sub-items to empty branches)

1 view
Skip to first unread message

Oleg Andreev

unread,
Mar 12, 2007, 4:25:02 AM3/12/07
to rubyonrail...@googlegroups.com
Hello, guys!

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/


sortable_tree_fix_and_enhancement.diff
Reply all
Reply to author
Forward
0 new messages