We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0aa941 commit 91f6fa5Copy full SHA for 91f6fa5
src/sortable.js
@@ -101,6 +101,7 @@ angular.module('ui.sortable', [])
101
// the value will be overwritten with the old value
102
if(!ui.item.sortable.received) {
103
ui.item.sortable.dropindex = ui.item.index();
104
+ ui.item.sortable.droptarget = ui.item.parent();
105
106
// Cancel the sort (let ng-repeat do the sort for us)
107
// Don't cancel if this is the received list because it has
0 commit comments