]> source.dussan.org Git - jquery-ui.git/commitdiff
Sortable: Reset fromOutside property when canceling helper removal. Fixes #8430 ...
authorBaoju Yuan <the_guy_1987@hotmail.com>
Mon, 16 Jul 2012 14:26:02 +0000 (10:26 -0400)
committerScott González <scott.gonzalez@gmail.com>
Mon, 16 Jul 2012 14:27:15 +0000 (10:27 -0400)
(cherry picked from commit dcea4f043adc7f37674feead31ded148d311ab72)

ui/jquery.ui.sortable.js

index c369ffa1c2da893bfcf3fa7acfa703fb69a605db..403fc53ebe1792963e0564471a88f190aa9ebd59 100644 (file)
@@ -1034,6 +1034,8 @@ $.widget("ui.sortable", $.ui.mouse, {
                                for (var i=0; i < delayedTriggers.length; i++) { delayedTriggers[i].call(this, event); }; //Trigger all delayed events
                                this._trigger("stop", event, this._uiHash());
                        }
+
+                       this.fromOutside = false;
                        return false;
                }