mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed problems with graphs when using visual console maps and pure vision.
This commit is contained in:
parent
217cffbf05
commit
99c176daf8
@ -906,7 +906,8 @@ else{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$only_image = !$graph_javascript || $isExternalLink;
|
$only_image = !$graph_javascript && $isExternalLink;
|
||||||
|
|
||||||
if ($layoutData['id_custom_graph'] != 0) {
|
if ($layoutData['id_custom_graph'] != 0) {
|
||||||
// Show only avg on the visual console
|
// Show only avg on the visual console
|
||||||
if (get_parameter('action') == 'edit') {
|
if (get_parameter('action') == 'edit') {
|
||||||
|
@ -149,7 +149,7 @@ if ($config['pure']) {
|
|||||||
// Container of the visual map (ajax loaded)
|
// Container of the visual map (ajax loaded)
|
||||||
echo '<div id="vc-container">' .
|
echo '<div id="vc-container">' .
|
||||||
visual_map_print_visual_map ($id_layout, true, true,
|
visual_map_print_visual_map ($id_layout, true, true,
|
||||||
null, null, '', false, $graph_javascript)
|
null, null, '', false, true)
|
||||||
. '</div>';
|
. '</div>';
|
||||||
|
|
||||||
// Floating menu - Start
|
// Floating menu - Start
|
||||||
@ -204,7 +204,7 @@ if ($config['pure']) {
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
visual_map_print_visual_map ($id_layout, true, true, null, null, '', false, $graph_javascript, true);
|
visual_map_print_visual_map ($id_layout, true, true, null, null, '', false, true, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
ui_require_javascript_file('wz_jsgraphics');
|
ui_require_javascript_file('wz_jsgraphics');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user