File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 51
51
} , dataWatchFunction ) ) ;
52
52
} else {
53
53
deregFunctions . push ( $scope . $parent . $watch ( function ( ) { return $scope . uiGrid . data ; } , dataWatchFunction ) ) ;
54
- deregFunctions . push ( $scope . $parent . $watch ( function ( ) { return $scope . uiGrid . data . length ; } , dataWatchFunction ) ) ;
54
+ deregFunctions . push ( $scope . $parent . $watch ( function ( ) { return $scope . uiGrid . data . length ; } , function ( ) { dataWatchFunction ( $scope . uiGrid . data ) ; } ) ) ;
55
55
}
56
56
deregFunctions . push ( $scope . $parent . $watch ( function ( ) { return $scope . uiGrid . columnDefs ; } , columnDefsWatchFunction ) ) ;
57
- deregFunctions . push ( $scope . $parent . $watch ( function ( ) { return $scope . uiGrid . columnDefs . length ; } , columnDefsWatchFunction ) ) ;
57
+ deregFunctions . push ( $scope . $parent . $watch ( function ( ) { return $scope . uiGrid . columnDefs . length ; } , function ( ) { columnDefsWatchFunction ( $scope . uiGrid . columnDefs ) ; } ) ) ;
58
58
} else {
59
59
if ( angular . isString ( $scope . uiGrid . data ) ) {
60
60
deregFunctions . push ( $scope . $parent . $watchCollection ( $scope . uiGrid . data , dataWatchFunction ) ) ;
You can’t perform that action at this time.
0 commit comments