9558-Fix background url html_print_autocomplete_modules()

This commit is contained in:
Pablo Aragon 2023-08-03 08:25:38 +02:00
parent ab0fda5a5d
commit 413528146b
1 changed files with 2 additions and 2 deletions

View File

@ -5111,7 +5111,7 @@ function html_print_autocomplete_modules(
ob_start();
$text_color = '';
$module_icon = 'images/search_module.png';
$module_icon = is_metaconsole() === false ? 'images/search_module.png' : '../../images/search_module.png';
if ($config['style'] === 'pandora_black' && is_metaconsole() === false) {
$text_color = 'color: white';
$module_icon = 'images/brick.menu.png';
@ -5126,7 +5126,7 @@ function html_print_autocomplete_modules(
100,
false,
'',
['style' => 'background: url('.$module_icon.') 95% right; '.$text_color.'']
['style' => 'background: url('.$module_icon.') no-repeat content-box; background-position: center right 5px; '.$text_color.'']
);
html_print_input_hidden($name.'_hidden', $id_agent_module);