From 0ed6cb78755ba50e77323d76d7aca1000fdda349 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 1 May 2020 10:06:41 -0400 Subject: [PATCH] Remove extra value='s from PTZ buttons. Fix remaining on-click-this on numbered presets --- web/skins/classic/includes/control_functions.php | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/web/skins/classic/includes/control_functions.php b/web/skins/classic/includes/control_functions.php index be9d2bcfa..61138612f 100644 --- a/web/skins/classic/includes/control_functions.php +++ b/web/skins/classic/includes/control_functions.php @@ -55,8 +55,8 @@ function controlZoom($monitor, $cmds) { CanAutoZoom() ) { ?> - - + + @@ -77,8 +77,8 @@ function controlIris($monitor, $cmds) { CanAutoIris() ) { ?> - - + + @@ -100,8 +100,8 @@ function controlWhite($monitor, $cmds) { CanAutoWhite() ) { ?> - - + + @@ -162,7 +162,7 @@ function controlPresets($monitor, $cmds) { NumPresets(); $i++ ) { ?> - + @@ -223,9 +223,7 @@ function controlPower($monitor, $cmds) { function ptzControls($monitor) { $control = $monitor->Control(); - //ZM\Error("Control: " . print_r($control,true)); $cmds = $control->commands(); - //ZM\Error("Cmds: " . print_r($cmds, true)); ob_start(); ?>