From 347aa335f001c6e80e6670c90c6262a358b89932 Mon Sep 17 00:00:00 2001 From: Baoju Yuan Date: Mon, 16 Jul 2012 10:26:02 -0400 Subject: [PATCH] Sortable: Reset fromOutside property when canceling helper removal. Fixes #8430 - draggable with sortable makes sortable event receive triggered wrong. (cherry picked from commit dcea4f043adc7f37674feead31ded148d311ab72) --- ui/jquery.ui.sortable.js | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.39.5