]> 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:26:02 +0000 (10:26 -0400)
ui/jquery.ui.sortable.js

index 7e587520018107400976cddcf15dd9ea0bb6445d..db24fed38afecd59feb54337138c9174fb1dea10 100644 (file)
@@ -1030,6 +1030,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;
                }