File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 409
409
410
410
$scope . $on ( '$destroy' , dataChangeDereg ) ;
411
411
412
- var setShowing = function ( ) {
413
- } ;
414
-
415
- var deregT = $scope . $watch ( 'grid.options.totalItems + grid.options.paginationPageSize' , setShowing ) ;
416
-
417
412
var deregP = $scope . $watch ( 'grid.options.paginationCurrentPage + grid.options.paginationPageSize' , function ( newValues , oldValues ) {
418
413
if ( newValues === oldValues || oldValues === undefined ) {
419
414
return ;
429
424
return ;
430
425
}
431
426
432
- setShowing ( ) ;
433
427
uiGridPaginationService . onPaginationChanged ( $scope . grid , options . paginationCurrentPage , options . paginationPageSize ) ;
434
428
}
435
429
) ;
436
430
437
431
$scope . $on ( '$destroy' , function ( ) {
438
- deregT ( ) ;
439
432
deregP ( ) ;
440
433
} ) ;
441
434
You can’t perform that action at this time.
0 commit comments