From 7783f81f5946e05ddfbdac9d1666bdde0bd3bf46 Mon Sep 17 00:00:00 2001 From: danielmaya Date: Thu, 17 May 2018 16:43:31 +0200 Subject: [PATCH] Fixed mobile graph --- pandora_console/mobile/operation/module_graph.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pandora_console/mobile/operation/module_graph.php b/pandora_console/mobile/operation/module_graph.php index 3af94962be..9e62f44c9f 100644 --- a/pandora_console/mobile/operation/module_graph.php +++ b/pandora_console/mobile/operation/module_graph.php @@ -278,6 +278,14 @@ class ModuleGraph { private function javascript_code() { ob_start(); + + global $config; + if ($config['flash_charts']) { + //Include the javascript for the js charts library + echo include_javascript_dependencies_flot_graph(true); + ui_require_javascript_file('pandora', 'include/javascript/',true); + } + ?>