Bug Tracker

Modify

Ticket #1664 (closed enhancement: fixed)

Opened 6 years ago

Last modified 16 months ago

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:
Blocking: Blocked by:

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

comment:1 Changed 6 years ago by paul

  • Status changed from new to closed
  • Resolution set to fixed

This is already planned and being worked on - thanks!

comment:2 Changed 16 months ago by Anton <amaslo@…>

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.