Sortable: Reset fromOutside property when canceling helper removal. Fixes #8430 - draggable with sortable makes sortable event receive triggered wrong.

(cherry picked from commit dcea4f043a)
This commit is contained in:
Baoju Yuan 2012-07-16 10:26:02 -04:00 committed by Scott González
parent 8fcbe502ee
commit 347aa335f0

View 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 for (var i=0; i < delayedTriggers.length; i++) { delayedTriggers[i].call(this, event); }; //Trigger all delayed events
this._trigger("stop", event, this._uiHash()); this._trigger("stop", event, this._uiHash());
} }
this.fromOutside = false;
return false; return false;
} }