diff --git a/pandora_console/include/graphs/functions_flot.php b/pandora_console/include/graphs/functions_flot.php
index 561b170835..da501a6546 100644
--- a/pandora_console/include/graphs/functions_flot.php
+++ b/pandora_console/include/graphs/functions_flot.php
@@ -14,7 +14,7 @@
global $config;
-function include_javascript_dependencies_flot_graph($return=false)
+function include_javascript_dependencies_flot_graph($return=false, $mobile=false)
{
global $config;
@@ -28,8 +28,16 @@ function include_javascript_dependencies_flot_graph($return=false)
$metaconsole_hack = '../../';
}
+ $output = '';
+
+ if ($mobile === true) {
+ $output .= '
+
+ ';
+ }
+
// NOTE: jquery.flot.threshold is not te original file. Is patched to allow multiple thresholds and filled area
- $output = '
+ $output .= '
diff --git a/pandora_console/mobile/operation/tactical.php b/pandora_console/mobile/operation/tactical.php
index b7844d9e9a..2495885c98 100755
--- a/pandora_console/mobile/operation/tactical.php
+++ b/pandora_console/mobile/operation/tactical.php
@@ -31,7 +31,7 @@ class Tactical
$this->correct_acl = false;
}
- include_javascript_dependencies_flot_graph();
+ include_javascript_dependencies_flot_graph(false, true);
}