diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2017-02-05 10:03:28 +0100 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2017-02-05 10:03:28 +0100 |
| commit | e2c87f9bb24181b1a9daffd7892c4666479b8a19 (patch) | |
| tree | 41f46deb210d481ec5f3c0ea209837817da74817 /www/js | |
| parent | 1d99824454e606ff2fd77c415325eb251cfd4196 (diff) | |
you can now hide the buttons #443
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); |
