Opened 16 years ago
Closed 15 years ago
#1308 closed enhancement (wontfix)
allow multiple accept classes for droppables
Reported by: | brett | Owned by: | stefan |
---|---|---|---|
Priority: | minor | Milestone: | 1.2 |
Component: | interface | Version: | 1.1.2 |
Keywords: | droppable | Cc: | |
Blocked by: | Blocking: |
Description
could interface.droppable be enhanced to allow multiple classes for the accept parameter? similar to scriptaculous: http://wiki.script.aculo.us/scriptaculous/show/Droppables.add ("Set accept to a string or an array of strings describing CSS classes. The Droppable will only accept Draggables that have one or more of these CSS classes.")
Change History (2)
comment:1 Changed 16 years ago by
comment:2 Changed 15 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Interface is no longer supported; consider switching to jQuery UI.
Note: See
TracTickets for help on using
tickets.
I made what I think is a simple change to idrop.js (latest version) to facilitate multiple drop classes. Basically, dropCfg.a becomes an array in function "build", and when drag starts iterate over all accept classes.
and then from about line 87 becomes:
If it's a good idea, I'd be happy to see this go into core - if not then my feelings won't be hurt.