From: Baoju Yuan Date: Mon, 16 Jul 2012 14:26:02 +0000 (-0400) Subject: Sortable: Reset fromOutside property when canceling helper removal. Fixes #8430 ... X-Git-Tag: 1.8.22~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=347aa335f001c6e80e6670c90c6262a358b89932;p=jquery-ui.git Sortable: Reset fromOutside property when canceling helper removal. Fixes #8430 - draggable with sortable makes sortable event receive triggered wrong. (cherry picked from commit dcea4f043adc7f37674feead31ded148d311ab72) --- diff --git a/ui/jquery.ui.sortable.js b/ui/jquery.ui.sortable.js index c369ffa1c..403fc53eb 100644 --- a/ui/jquery.ui.sortable.js +++ b/ui/jquery.ui.sortable.js @@ -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; }