mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Now all the graphs of the visual console are images by default
(cherry picked from commit 7cec21d839b268a80173fbd31d0eb330a207f319)
This commit is contained in:
parent
cffe5eab5f
commit
0d24ae7258
@ -42,7 +42,7 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$refr = (int) get_parameter ('refr', $config['vc_refr']);
|
$refr = (int) get_parameter ('refr', $config['vc_refr']);
|
||||||
$graph_javascript = (bool) get_parameter ('graph_javascript', true);
|
$graph_javascript = (bool) get_parameter ('graph_javascript', false);
|
||||||
$vc_refr = false;
|
$vc_refr = false;
|
||||||
|
|
||||||
if (isset($config['vc_refr']) and $config['vc_refr'] != 0)
|
if (isset($config['vc_refr']) and $config['vc_refr'] != 0)
|
||||||
@ -242,7 +242,7 @@ ui_require_javascript_file('pandora_visual_console');
|
|||||||
render_map: true,
|
render_map: true,
|
||||||
keep_aspect_ratio: true,
|
keep_aspect_ratio: true,
|
||||||
id_visual_console: <?php echo $id_layout; ?>,
|
id_visual_console: <?php echo $id_layout; ?>,
|
||||||
graph_javascript: <?php echo $config['pure'] ? 0 : (int) $graph_javascript; ?>,
|
graph_javascript: <?php echo (int) $graph_javascript; ?>,
|
||||||
width: $(window).width(),
|
width: $(window).width(),
|
||||||
height: $(window).height()
|
height: $(window).height()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user