From dcea4f043adc7f37674feead31ded148d311ab72 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. --- 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 7e5875200..db24fed38 100644 --- a/ui/jquery.ui.sortable.js +++ b/ui/jquery.ui.sortable.js @@ -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; } -- 2.39.5