diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-01-19 10:45:44 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-01-19 10:45:44 -0500 |
commit | cf0c32f335479d00224d69f3c5ff53d147a6a8e6 (patch) | |
tree | aef5b3077ba90af986947ca3cd04f75e08c2814b /ui/jquery.ui.sortable.js | |
parent | 30c9473d8f297d53f0d3715e8cd00b61b841a85a (diff) | |
download | jquery-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.js | 2 |
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"); |