From 6ebb6f6843edc89368568722bde92c4673ba6e5f Mon Sep 17 00:00:00 2001 From: marcos Date: Mon, 19 Apr 2021 12:59:52 +0200 Subject: [PATCH 1/2] fixeed visual error vc legacy mode --- pandora_console/include/functions_html.php | 7 +- .../include/functions_visual_map_editor.php | 80 +++++++++++++++++-- pandora_console/include/styles/pandora.css | 2 +- 3 files changed, 79 insertions(+), 10 deletions(-) diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index c5a16434f8..1e9c406919 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -718,7 +718,8 @@ function html_print_select( $select_all=false, $simple_multiple_options=false, $required=false, - $truncate_size=false + $truncate_size=false, + $select2_enable=true ) { $output = "\n"; @@ -890,7 +891,7 @@ function html_print_select( $select2 = 'select2_dark.min'; } - if ($multiple === false) { + if ($multiple === false && $select2_enable === true) { if (is_ajax()) { $output .= '