dot should be red when either fclass or source_class is red
This commit is contained in:
parent
1b5d802890
commit
caffe5f7c9
|
@ -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 ) {
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue