Skip to content

Commit

Permalink
Add fromSortable to dragIn event
Browse files Browse the repository at this point in the history
  • Loading branch information
roy-mdr committed Sep 2, 2022
1 parent c91543c commit 419941b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Sortable.js
Original file line number Diff line number Diff line change
Expand Up @@ -1217,6 +1217,8 @@ Sortable.prototype = /** @lends Sortable.prototype */ {
_dispatchEvent({
rootEl: el,
name: 'dragIn',
from: rootEl, // Is overwritten after this... so...
fromSortable: rootEl[expando],
originalEvent: evt
});
}
Expand Down

0 comments on commit 419941b

Please sign in to comment.