mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
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:
parent
8fcbe502ee
commit
347aa335f0
2
ui/jquery.ui.sortable.js
vendored
2
ui/jquery.ui.sortable.js
vendored
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user