Draggable: Revert flag honours Sortable revert speed. Fixed #9103 Draggable: revert option reset after being added to a connectedSortable.

This commit is contained in:
Steve Urmston 2013-02-19 22:58:31 +00:00 committed by Scott González
parent bd47bd4ace
commit a924af12b6

View File

@ -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