Merge branch 'ent-10526-derivado-del-trabajo-de-q-a-en-ticket-https-brutus-artica-es-8081-artica-pandora_enterprise' into 'develop'

Ent 10526 derivado del trabajo de q a en ticket https brutus artica es 8081 artica pandora enterprise

See merge request artica/pandorafms!5691
This commit is contained in:
Matias Didier 2023-04-12 10:16:24 +00:00
commit ad3f1dd8d6
3 changed files with 9 additions and 4 deletions

View File

@ -1184,6 +1184,11 @@ html_print_div(
}
});
var show_dialog_create = "<?php echo get_parameter('show_dialog_create', 0); ?>";
if (show_dialog_create !== '0'){
$('#button-create_module').click();
}
});

View File

@ -944,12 +944,12 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false)
true
);
} else {
$buttons_act .= '<a target=_blank href="'.$console_url.'index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente='.$id_agente.$ent.'&tab=module">';
$buttons_act .= '<a target=_blank href="'.$console_url.'index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente='.$id_agente.$ent.'&tab=module&show_dialog_create=1">';
$buttons_act .= html_print_submit_button(
__('Go to module creation'),
'upd_button',
false,
['class' => 'secondary mini'],
['class' => 'secondary mini no_decoration'],
true
);
@ -958,7 +958,7 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false)
__('Go to agent edition'),
'upd_button',
false,
['class' => 'secondary mini'],
['class' => 'secondary mini no_decoration'],
true
);
}

View File

@ -241,7 +241,7 @@ table tbody tr td h4 {
a {
color: #3f3f3f;
text-decoration: none;
text-decoration: none !important;
}
a:hover {