From f26e70630af7405696ee59af7c3686083e1994ac Mon Sep 17 00:00:00 2001 From: Pablo Aragon Date: Wed, 29 Mar 2023 17:09:41 +0200 Subject: [PATCH] Blue background & Datatable fix --- pandora_console/include/functions_ui.php | 5 +++-- pandora_console/operation/agentes/group_view.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index 2f88d2d86f..e04067551f 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -4070,15 +4070,16 @@ function ui_print_datatable(array $parameters) }"; } - $js .= '});'; + $js .= '$("table#'.$table_id.'").removeClass("invisible"); + });'; $js .= ' $(function() { $(document).on("preInit.dt", function (ev, settings) { - // $("table#'.$table_id.'").hide(); $("div.dataTables_length").hide(); $("div.dt-buttons").hide(); }); }); + '; $js .= ''; diff --git a/pandora_console/operation/agentes/group_view.php b/pandora_console/operation/agentes/group_view.php index 63fc0ab41c..a1db772a47 100644 --- a/pandora_console/operation/agentes/group_view.php +++ b/pandora_console/operation/agentes/group_view.php @@ -192,7 +192,7 @@ echo ''; echo "".$total_agent_warning.'%'; echo "".$total_agent_ok.'%'; echo "".$total_agent_unknown.'%'; - echo "".$total_not_init.'%'; + echo "".$total_not_init.'%'; echo ''; echo "
"; echo "".$total_critical.'%';