Skip to content

Commit 0fc6b21

Browse files
committed
fix(Edit): Wrong arguments on scrollToIfNecessary
This method no longer takes a $scope argument
1 parent 78a4b43 commit 0fc6b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/edit/js/gridEdit.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@
598598

599599
// if the cell isn't fully visible, and cellNav is present, scroll it to be fully visible before we start
600600
if ( $scope.grid.api.cellNav ){
601-
$scope.grid.api.cellNav.scrollToIfNecessary( $scope, $scope.row, $scope.col );
601+
$scope.grid.api.cellNav.scrollToIfNecessary( $scope.row, $scope.col );
602602
}
603603

604604
cellModel = $parse($scope.row.getQualifiedColField($scope.col));

0 commit comments

Comments
 (0)