Fixed calendar in combined graphs

This commit is contained in:
samucarc 2018-11-21 16:28:43 +01:00
parent 5ac947c2fd
commit 099e0e6ed2
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ global $config;
require_once ("include/functions_agents.php"); require_once ("include/functions_agents.php");
require_once ("include/functions_custom_graphs.php"); require_once ("include/functions_custom_graphs.php");
ui_require_javascript_file ('calendar');
if (! check_acl ($config['id_user'], $id_grupo, "AR") && ! check_acl ($config['id_user'], 0, "AW")) { if (! check_acl ($config['id_user'], $id_grupo, "AR") && ! check_acl ($config['id_user'], 0, "AW")) {
db_pandora_audit("ACL Violation", db_pandora_audit("ACL Violation",
@ -242,7 +243,7 @@ echo '</div>';
//Dialog to save the custom graph //Dialog to save the custom graph
echo "<div id='dialog_save_custom_graph' style='display: none;'>"; echo "<div id='dialog_save_custom_graph' style='display: none;'>";
$table = null; $table = new stdClass();
$table->width = '100%'; $table->width = '100%';
$table->style[0] = 'font-weight: bolder; text-align: right;'; $table->style[0] = 'font-weight: bolder; text-align: right;';
$table->data[0][0] = __('Name custom graph'); $table->data[0][0] = __('Name custom graph');