Bug Tracker

Ticket #2922 (new enhancement)

Opened 4 months ago

Last modified 3 months ago

Draggable: revert on fail

Reported by: ivan Assigned to: paul
Type: enhancement Priority: minor
Milestone: 1.3 Component: ui
Version: 1.2.5 Keywords:
Cc: Needs: Review

Description

As I understand it, the revert behaviour for draggables is all-or-nothing; i think it would be convenient to have the option to revert the draggable only when it was not dropped on an accepting droppable. The patch is trivial...

Attachments

ui.draggable.js.patch (0.7 kB) - added by ivan 4 months ago.

Change History

Changed 4 months ago by ivan

Changed 3 months ago by ivan

This patch depends on the patch attached to #2914.

Note: See TracTickets for help on using tickets.