Skip to content
Permalink
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 a924af1
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.