diff options
Diffstat (limited to 'www/js')
| -rw-r--r-- | www/js/MonitorModalCtrl.js | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/www/js/MonitorModalCtrl.js b/www/js/MonitorModalCtrl.js index c0d85ccf..13ded330 100644 --- a/www/js/MonitorModalCtrl.js +++ b/www/js/MonitorModalCtrl.js @@ -1095,22 +1095,7 @@ angular.module('zmApp.controllers').controller('MonitorModalCtrl', ['$scope', '$ // *** Only for testing - comment out - end // - - if (data.control.Control.CanWake == '1') - { - $scope.ptzWakeCommand = 'wake'; - } - - if (data.control.Control.CanSleep == '1') - { - $scope.ptzSleepCommand = 'sleep'; - } - - if (data.control.Control.CanReset == '1') - { - $scope.ptzResetCommand = 'reset'; - } - + $scope.ptzMoveCommand = "move"; // start with as move; $scope.ptzStopCommand = ""; |
