dot should be red when either fclass or source_class is red

This commit is contained in:
Pliable Pixels 2018-03-27 08:55:15 -04:00
parent 1b5d802890
commit caffe5f7c9
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ for( $monitor_i = 0; $monitor_i < count($displayMonitors); $monitor_i += 1 ) {
$scale = max( reScale( SCALE_BASE, $monitor['DefaultScale'], ZM_WEB_DEFAULT_SCALE ), SCALE_BASE ); $scale = max( reScale( SCALE_BASE, $monitor['DefaultScale'], ZM_WEB_DEFAULT_SCALE ), SCALE_BASE );
$stream_available = canView('Stream') && $monitor['CaptureFPS'] && $monitor['Function'] != 'None'; $stream_available = canView('Stream') && $monitor['CaptureFPS'] && $monitor['Function'] != 'None';
$dot_class=$source_class; $dot_class=$source_class;
if ( $fclass=='errorText' ) $dot_class='errorText'; if ( $fclass != 'infoText' ) $dot_class=$fclass;
if ( ZM_WEB_ID_ON_CONSOLE ) { if ( ZM_WEB_ID_ON_CONSOLE ) {
?> ?>