aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.sortable.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-01-19 10:45:44 -0500
committerScott González <scott.gonzalez@gmail.com>2011-01-19 10:45:44 -0500
commitcf0c32f335479d00224d69f3c5ff53d147a6a8e6 (patch)
treeaef5b3077ba90af986947ca3cd04f75e08c2814b /ui/jquery.ui.sortable.js
parent30c9473d8f297d53f0d3715e8cd00b61b841a85a (diff)
downloadjquery-ui-cf0c32f335479d00224d69f3c5ff53d147a6a8e6.tar.gz
jquery-ui-cf0c32f335479d00224d69f3c5ff53d147a6a8e6.zip
Sortable: pass a fake event object to _mouseUp on cancel. Fixes #5882 - UI.Sortable .sortable( cancel ) call the this._mouseUp method without param.
Diffstat (limited to 'ui/jquery.ui.sortable.js')
-rw-r--r--ui/jquery.ui.sortable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.sortable.js b/ui/jquery.ui.sortable.js
index aa57e3233..dd01e1d63 100644
--- a/ui/jquery.ui.sortable.js
+++ b/ui/jquery.ui.sortable.js
@@ -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");