Merge pull request #2926 from Dvanderploeg/camera_control_preset_correction
Removed value causing preset not to work
This commit is contained in:
commit
5b07cb2243
|
@ -162,7 +162,7 @@ function controlPresets($monitor, $cmds) {
|
|||
<?php
|
||||
for ( $i = 1; $i <= $control->NumPresets(); $i++ ) {
|
||||
?>
|
||||
<button type="button" class="ptzNumBtn" title="<?php echo isset($labels[$i])?htmlentities($labels[$i]):'' ?>" value="<?php echo $i ?>" data-on-click="controlCmd" value="<?php echo $cmds['PresetGoto'] ?><?php echo $i ?>"/><?php echo $i ?></button>
|
||||
<button type="button" class="ptzNumBtn" title="<?php echo isset($labels[$i])?htmlentities($labels[$i]):'' ?>" data-on-click-this="controlCmd" value="<?php echo $cmds['PresetGoto'] ?><?php echo $i ?>"/><?php echo $i ?></button>
|
||||
<?php
|
||||
} // end foreach preset
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue