Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Sortable: pass a fake event object to _mouseUp on cancel. Fixes #5882…

… - UI.Sortable .sortable( cancel ) call the this._mouseUp method without param.

(cherry picked from commit cf0c32f)
  • Loading branch information...
commit 465c4c2cbef33fc4491d862245180b6441875c15 1 parent 904548d
Scott González scottgonzalez authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ui/jquery.ui.sortable.js
2  ui/jquery.ui.sortable.js
View
@@ -360,7 +360,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");
Please sign in to comment.
Something went wrong with that request. Please try again.