diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index d411884a44..764427a25b 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -7129,7 +7129,10 @@ function ui_print_fav_menu($id_element, $url, $label, $section) base64_encode(json_encode($config_fav_menu)), '', true, - ['onclick' => 'favMenuAction(this)'] + [ + 'onclick' => 'favMenuAction(this)', + 'class' => (($fav !== false) ? 'active' : ''), + ] ); $output .= ''; $output .= '