mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Sortable: pass a fake event object to _mouseUp on cancel. Fixes #5882 - UI.Sortable .sortable( cancel ) call the this._mouseUp method without param.
This commit is contained in:
parent
30c9473d8f
commit
cf0c32f335
2
ui/jquery.ui.sortable.js
vendored
2
ui/jquery.ui.sortable.js
vendored
@ -359,7 +359,7 @@ $.widget("ui.sortable", $.ui.mouse, {
|
||||
|
||||
if(this.dragging) {
|
||||
|
||||
this._mouseUp();
|
||||
this._mouseUp({ target: null });
|
||||
|
||||
if(this.options.helper == "original")
|
||||
this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper");
|
||||
|
Loading…
Reference in New Issue
Block a user