Skip to content

Commit

Permalink
fix(Edit): Wrong arguments on scrollToIfNecessary
Browse files Browse the repository at this point in the history
This method no longer takes a $scope argument
  • Loading branch information
c0bra committed Feb 18, 2015
1 parent 78a4b43 commit 0fc6b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/edit/js/gridEdit.js
Expand Up @@ -598,7 +598,7 @@

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

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

0 comments on commit 0fc6b21

Please sign in to comment.