Skip to content
Browse files

Draggable: Revert flag honours Sortable revert speed. Fixed #9103 Dra…

…ggable: revert option reset after being added to a connectedSortable.
  • Loading branch information
steveu authored and scottgonzalez committed Feb 21, 2013
1 parent bd47bd4 commit a924af12b6743408903c642f84a00b0766cd17b7
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.draggable.js
@@ -600,7 +600,7 @@ $.ui.plugin.add("draggable", "connectToSortable", {

//The sortable revert is supported, and we have to set a temporary dropped variable on the draggable to support revert: "valid/invalid"
if(this.shouldRevert) {
this.instance.options.revert = true;
this.instance.options.revert = this.shouldRevert;

//Trigger the stop of the sortable

0 comments on commit a924af1

Please sign in to comment.
You can’t perform that action at this time.