#11723 Fix tree view node
This commit is contained in:
parent
676b7a9302
commit
e40c60f6c5
|
@ -650,6 +650,7 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false)
|
|||
// Agent name.
|
||||
$row = [];
|
||||
$row['title'] = __('Agent name');
|
||||
if (is_metaconsole() === true) {
|
||||
$row['data'] = html_print_anchor(
|
||||
[
|
||||
'href' => 'javascript:void(0)',
|
||||
|
@ -660,6 +661,17 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false)
|
|||
],
|
||||
true
|
||||
);
|
||||
} else {
|
||||
$row['data'] = html_print_anchor(
|
||||
[
|
||||
'href' => $urlAgent,
|
||||
'title' => __('Click here for view this agent'),
|
||||
'class' => 'font_11',
|
||||
'content' => $cellName,
|
||||
],
|
||||
true
|
||||
);
|
||||
}
|
||||
|
||||
$table->data['name'] = $row;
|
||||
|
||||
|
|
Loading…
Reference in New Issue