Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 9 years ago

#1664 closed enhancement (fixed)

Sortable - Accept droppables with given class

Reported by: grncoder Owned by:
Priority: major Milestone: 1.2.2
Component: ui Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:

Description

It would be extremely useful if sortables could receive droppable elements that are not initially contained in the sortable.

An 'accept' parameter in the options hash could specify a class required on droppables to be allowed in the sortable.

If the accept parameter isn't present, then the default behaviour would be used.

Change History (2)

comment:1 Changed 13 years ago by paul

Resolution: fixed
Status: newclosed

This is already planned and being worked on - thanks!

comment:2 Changed 9 years ago by Anton <amaslo@…>

Hi, is this parameter still present? It is not documented, and I can't seem to get it to work...

Note: See TracTickets for help on using tickets.