Re-fixed problems with agents name in visual consoles
This commit is contained in:
parent
ca8ec686ac
commit
2c1e43a477
|
@ -123,8 +123,7 @@ function visual_map_print_item($mode = "read", $layoutData,
|
|||
}
|
||||
|
||||
$agentname = agents_get_name(agents_get_module_id ($id_module));
|
||||
$label = str_replace(ui_print_truncate_text($agentname,
|
||||
'agent_small', false, true, false, '…', false), $agentname, $label);
|
||||
$label = str_replace(ui_print_truncate_text($agentname, 'agent_small', false, true, false, '…', false), $agentname, $label);
|
||||
$text = '<span id="text_' . $id . '" class="text">' . $label .'</span>';
|
||||
|
||||
if($height == 0){
|
||||
|
|
Loading…
Reference in New Issue