fix link pandora_enterprise#8518
This commit is contained in:
parent
3e24773efa
commit
f342a218ba
|
@ -1777,6 +1777,13 @@ $table->data[4][0] .= __('Not condition').' '.ui_print_help_tip(__('If you
|
|||
}
|
||||
|
||||
if (!is_snapshot_data($row['datos'])) {
|
||||
if ($tresholds === true || $graph_type === 'boolean') {
|
||||
unset($graph_params['histogram']);
|
||||
}
|
||||
|
||||
$graph_params_str = http_build_query($graph_params);
|
||||
|
||||
$link = 'winopeng_var(\''.$url.'?'.$graph_params_str.'\',\''.$win_handle.'\', 800, 480)';
|
||||
$data[8] .= '<a href="javascript:'.$link.'">'.html_print_image('images/chart.png', true, ['border' => '0', 'alt' => '', 'class' => 'invert_filter']).'</a>';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue