Skip to main content

Bug Tracker

Side navigation

#2729 closed enhancement (invalid)

Opened April 21, 2008 09:03PM UTC

Closed July 11, 2010 06:44PM UTC

Add a hook in sortables to generate the list of sortables

Reported by: rfb Owned by: paul
Priority: major Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:


I have created a nested sortable list which can only be 1 level deep. The cleanest way I've found to enforce this is to add hook into the refreshItems() which generates a different list of sortable items depending on what item I'm picking up.

Example, for my use:

if item contains a list

return list of sortables on root of list


return all sortables in list

Attached is a patch I've made from my changes on the most current svn trunk.


Attachments (1)
  • itemQuery.patch (1.9 KB) - added by rfb April 21, 2008 09:03PM UTC.

    patch to svn current

Change History (1)

Changed July 11, 2010 06:44PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

This should be filed in the UI bug tracker if still relevant.