From 65d7b6621802a46d8a4a3fe42c6c7dcf9f94874d Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Tue, 23 Aug 2016 16:00:14 -0400 Subject: #306 - removed redundant command block Former-commit-id: 02f4fcabaf27bccdc4ef47883c0e686f1be1f57e --- www/js/MonitorModalCtrl.js | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'www/js/MonitorModalCtrl.js') 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 = ""; -- cgit v1.2.3