aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorSteve Urmston <steve@urm.st>2013-02-19 22:58:31 +0000
committerScott González <scott.gonzalez@gmail.com>2013-02-21 08:20:41 -0500
commita924af12b6743408903c642f84a00b0766cd17b7 (patch)
tree2458ce08dc7907039059cad4ab95e77d95626922 /ui
parentbd47bd4ace3789d9eb302b0dce6f6e042d08a7f1 (diff)
downloadjquery-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.js2
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