Skip to content

Commit

Permalink
Fixes issue #93; Using right scope for item when handle is in isolate…
Browse files Browse the repository at this point in the history
…d scope
  • Loading branch information
johankvint committed May 24, 2016
1 parent 9303c2e commit 29b56a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/sortable-item-handle.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
// container positioning
containerPositioning = scope.sortableScope.options.containerPositioning || 'absolute';

dragItemInfo = $helper.dragItem(scope);
dragItemInfo = $helper.dragItem(scope.itemScope);
tagName = scope.itemScope.element.prop('tagName');

dragElement = angular.element($document[0].createElement(scope.sortableScope.element.prop('tagName')))
Expand Down

0 comments on commit 29b56a1

Please sign in to comment.