Ticket #5882 (closed bug: fixed)
UI.Sortable .sortable( "cancel" ) call the this._mouseUp method without param
| Reported by: | tobias.istvan | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.8.9 |
| Component: | ui.sortable | Version: | 1.8.2 |
| Keywords: | sortable cancel | Cc: | |
| Blocking: | Blocked by: |
Description
The .sortable( "cancel" ) call the this._mouseUp without param. For the _mouseUp method require this param.
Also:
- not check the existing of the this.placeholder in the condition
- not check the existing of the this.domPosition in the condition
Change History
comment:1 Changed 2 years ago by Scott González
- Status changed from new to closed
- Resolution set to fixed
comment:2 Changed 2 years ago by Scott González
Sortable: pass a fake event object to _mouseUp on cancel. Fixes #5882 - UI.Sortable .sortable( cancel ) call the this._mouseUp method without param.
Changeset: cf0c32f335479d00224d69f3c5ff53d147a6a8e6
Note: See
TracTickets for help on using
tickets.


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 cf0c32f335479d00224d69f3c5ff53d147a6a8e6)