Skip to content

Commit aeefcbe

Browse files
committed
Fix isolated scope issue, that was merged out for 1.3.8
1 parent 9cd8eb4 commit aeefcbe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/ng-sortable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@
760760
// container positioning
761761
containerPositioning = scope.sortableScope.options.containerPositioning || 'absolute';
762762

763-
dragItemInfo = $helper.dragItem(scope);
763+
dragItemInfo = $helper.dragItem(scope.itemScope);
764764
tagName = scope.itemScope.element.prop('tagName');
765765

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

source/sortable-item-handle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
// container positioning
205205
containerPositioning = scope.sortableScope.options.containerPositioning || 'absolute';
206206

207-
dragItemInfo = $helper.dragItem(scope);
207+
dragItemInfo = $helper.dragItem(scope.itemScope);
208208
tagName = scope.itemScope.element.prop('tagName');
209209

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

0 commit comments

Comments
 (0)