mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#10526 tree view modal show on create agent
This commit is contained in:
parent
57c6788a19
commit
2164e0d9a2
@ -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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -944,12 +944,12 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false)
|
|||||||
true
|
true
|
||||||
);
|
);
|
||||||
} else {
|
} 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(
|
$buttons_act .= html_print_submit_button(
|
||||||
__('Go to module creation'),
|
__('Go to module creation'),
|
||||||
'upd_button',
|
'upd_button',
|
||||||
false,
|
false,
|
||||||
['class' => 'secondary mini'],
|
['class' => 'secondary mini no_decoration'],
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -958,7 +958,7 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false)
|
|||||||
__('Go to agent edition'),
|
__('Go to agent edition'),
|
||||||
'upd_button',
|
'upd_button',
|
||||||
false,
|
false,
|
||||||
['class' => 'secondary mini'],
|
['class' => 'secondary mini no_decoration'],
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -241,7 +241,7 @@ table tbody tr td h4 {
|
|||||||
|
|
||||||
a {
|
a {
|
||||||
color: #3f3f3f;
|
color: #3f3f3f;
|
||||||
text-decoration: none;
|
text-decoration: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user