Merge branch 'ent-11723-nodo-intenta-usar-login-hash-al-redirigir-desde-le-vista-de-arbol-y-te-deslogea' into 'develop'

Ent 11723 nodo intenta usar login hash al redirigir desde le vista de arbol y te deslogea

See merge request artica/pandorafms!6239
This commit is contained in:
Gorka Sanchez 2023-07-12 14:43:41 +00:00
commit 9c6ff04977
1 changed files with 22 additions and 10 deletions

View File

@ -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;