summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-08-23 16:00:14 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-08-23 16:00:14 -0400
commit65d7b6621802a46d8a4a3fe42c6c7dcf9f94874d (patch)
treefce99d33174baa75af94077b5e859597251e0578
parenta82220ec6769d6b04dab46b0a03d7d02666734ad (diff)
#306 - removed redundant command block
Former-commit-id: 02f4fcabaf27bccdc4ef47883c0e686f1be1f57e
-rw-r--r--www/js/MonitorModalCtrl.js17
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 = "";