From e5e857116b27a982f266e658613587b4ee5ba6fb Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Mon, 18 Mar 2024 12:23:45 +0100 Subject: [PATCH] #13010 Fixed services 3 --- .../reporting/visual_console_builder.wizard.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pandora_console/godmode/reporting/visual_console_builder.wizard.php b/pandora_console/godmode/reporting/visual_console_builder.wizard.php index 83c913efdf..24b0c3f9bf 100644 --- a/pandora_console/godmode/reporting/visual_console_builder.wizard.php +++ b/pandora_console/godmode/reporting/visual_console_builder.wizard.php @@ -907,10 +907,15 @@ function findInSelect(selectid, find){ }) } -$('#image').on('change', function(){ +$('#image').on('change', function() { var img = $(this).val(); - $('#image_prev').html(''); -}) + var src = ""+`/images/console/icons/${img}.png`; + if (metaconsole_enabled) { + src = ""+`../../images/console/icons/${img}.png`; + } + + $('#image_prev').html(``); +});