Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #7807 (new defect)

Opened 2 years ago

Last modified 2 years ago

[PATCH] Sortable tree fixes for #4691 (adding sub-items to empty branches)

Reported by: oleganza Assigned to: thomas@fesch.at
Priority: normal Milestone: 2.x
Component: script.aculo.us Version:
Severity: normal Keywords:
Cc:

Description

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".

Unit-tested on IE6, Opera 9.02, Firefox 2.0.0.2; Windows XP.

Attachments

sortable_tree_fix_and_enhancement.diff (1.9 kB) - added by oleganza on 03/12/07 20:42:12.
right version of previosly attached file
sortable_tree_fix_and_enhancement.2.diff (1.9 kB) - added by oleganza on 03/12/07 20:42:27.
sortable tree fix and enhancement for acts_as_nested_set+better_nested_set plugin

Change History

03/12/07 20:42:12 changed by oleganza

  • attachment sortable_tree_fix_and_enhancement.diff added.

right version of previosly attached file

03/12/07 20:42:27 changed by oleganza

  • attachment sortable_tree_fix_and_enhancement.2.diff added.

sortable tree fix and enhancement for acts_as_nested_set+better_nested_set plugin

03/12/07 20:43:59 changed by oleganza

Sorry for misleading patchfile duplication. They are equal by now.