Browse Source

Merge pull request #245 from etcook/dev

Deep copy object to avoid unwanted referencing
drop-text
Lebedev Konstantin 10 years ago
parent
commit
fff7711238
  1. 1
      ng-sortable.js

1
ng-sortable.js

@ -77,6 +77,7 @@
if (evt.clone) {
evt.from.removeChild(evt.clone);
removed = angular.copy(removed);
}
else {
prevItems.splice(oldIndex, 1);

Loading…
Cancel
Save