diff options
Diffstat (limited to 'www/js')
| -rw-r--r-- | www/js/EventModalCtrl.js | 7 | ||||
| -rw-r--r-- | www/js/MonitorModalCtrl.js | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/www/js/EventModalCtrl.js b/www/js/EventModalCtrl.js index 4b15e997..d899e7e8 100644 --- a/www/js/EventModalCtrl.js +++ b/www/js/EventModalCtrl.js @@ -904,6 +904,7 @@ angular.module('zmApp.controllers').controller('EventModalCtrl', ['$scope', '$ro return; + $scope.isToggleListMenu = true; $scope.videoDynamicTime = ""; $scope.videoIsReady = false; var ld = NVRDataModel.getLogin(); @@ -1175,6 +1176,12 @@ angular.module('zmApp.controllers').controller('EventModalCtrl', ['$scope', '$ro }; + $scope.toggleListMenu = function() + { + + $scope.isToggleListMenu = !$scope.isToggleListMenu; + }; + $scope.toggleGapless = function() { // console.log(">>>>>>>>>>>>>>GAPLESS TOGGLE INSIDE MODAL"); diff --git a/www/js/MonitorModalCtrl.js b/www/js/MonitorModalCtrl.js index 0a18e1c6..a41cb04d 100644 --- a/www/js/MonitorModalCtrl.js +++ b/www/js/MonitorModalCtrl.js @@ -1413,6 +1413,12 @@ angular.module('zmApp.controllers').controller('MonitorModalCtrl', ['$scope', '$ }); } + $scope.toggleListMenu = function() + { + + $scope.isToggleListMenu = !$scope.isToggleListMenu; + }; + //------------------------------------------------------------- // Zoom in and out via +- for desktops //------------------------------------------------------------- @@ -1684,6 +1690,7 @@ angular.module('zmApp.controllers').controller('MonitorModalCtrl', ['$scope', '$ { $scope.monStatus = ""; + $scope.isToggleListMenu = true; document.addEventListener("pause", onPause, false); document.addEventListener("resume", onResume, false); |
