Search and Top Navigation
#9738 closed bug (notabug)
Opened January 14, 2014 12:25PM UTC
Closed January 19, 2014 07:10PM UTC
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.
Attachments (0)
Change History (2)
Changed January 14, 2014 01:38PM UTC by comment:1
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 |
Changed January 19, 2014 07:10PM UTC by comment:2
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.
Confirmed: http://jsfiddle.net/tj_vantoll/aJns4/.