File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5151 } , dataWatchFunction ) ) ;
5252 } else {
5353 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 ) ; } ) ) ;
5555 }
5656 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 ) ; } ) ) ;
5858 } else {
5959 if ( angular . isString ( $scope . uiGrid . data ) ) {
6060 deregFunctions . push ( $scope . $parent . $watchCollection ( $scope . uiGrid . data , dataWatchFunction ) ) ;
You can’t perform that action at this time.
0 commit comments