diff options
Diffstat (limited to 'www/js')
| -rw-r--r-- | www/js/EventCtrl.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index 159a0451..64d2e724 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -3467,6 +3467,20 @@ angular.module('zmApp.controllers') }; + $scope.toggleThumbSize = function() { + var ld = NVR.getLogin(); + ld.eventViewThumbsSize = (ld.eventViewThumbsSize == 'large')?'small':'large'; + NVR.setLogin(ld); + $scope.loginData = ld; + recomputeRowHeights(); + // $scope.$apply(); + $ionicScrollDelegate.resize(); + // $scope.eventsBeingLoaded = true; + $timeout (function() { + navTitle(); + },300); + }; + $scope.toggleObjectDetectionFilter = function () { var ld = NVR.getLogin(); |
