Opened 9 years ago
Closed 9 years ago
#9738 closed bug (notabug)
Sortable: Remove event object doesn't contain sender when moving an item between connected sortables
Reported by: | NiGhTTraX | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.sortable | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Check this fiddle http://jsfiddle.net/NiGhTTraX/7FmgD/ and drag an item from the first list to the second. You'll see that ui.sender is null. The documentation states that it should contain the sortable from which the item came from.
The bug is caused by line 1184. The _uiHash() function should be called with the 'this' argument.
Here's a pull request https://github.com/jquery/jquery-ui/pull/1171 fixing this.
Change History (2)
comment:1 Changed 9 years ago by
Status: | new → open |
---|---|
Summary: | Remove event object doesn't contain sender when moving an item between connected sortables → Sortable: Remove event object doesn't contain sender when moving an item between connected sortables |
comment:2 Changed 9 years ago by
Resolution: | → notabug |
---|---|
Status: | open → closed |
Per the discussion in https://github.com/jquery/jquery-ui/pull/1171 this is just a documentation issue that has been fixed.
Note: See
TracTickets for help on using
tickets.
Confirmed: http://jsfiddle.net/tj_vantoll/aJns4/.