diff options
author | Steve Urmston <steve@urm.st> | 2013-02-19 22:58:31 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2013-02-21 08:20:41 -0500 |
commit | a924af12b6743408903c642f84a00b0766cd17b7 (patch) | |
tree | 2458ce08dc7907039059cad4ab95e77d95626922 /ui | |
parent | bd47bd4ace3789d9eb302b0dce6f6e042d08a7f1 (diff) | |
download | jquery-ui-a924af12b6743408903c642f84a00b0766cd17b7.tar.gz jquery-ui-a924af12b6743408903c642f84a00b0766cd17b7.zip |
Draggable: Revert flag honours Sortable revert speed. Fixed #9103 Draggable: revert option reset after being added to a connectedSortable.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.draggable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.draggable.js b/ui/jquery.ui.draggable.js index 8b388d166..27b6b4ef0 100644 --- a/ui/jquery.ui.draggable.js +++ b/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 |