#8210 Fixed dialog
This commit is contained in:
parent
6f7b35a3b4
commit
8ce1a500ea
|
@ -688,7 +688,7 @@ foreach ($simple_alerts as $alert) {
|
|||
$data[3] .= '</tr>';
|
||||
}
|
||||
|
||||
$data[3] .= '<div id="update_action-div" class="invisible left">';
|
||||
$data[3] .= '<div id="update_action-div" class="invisible">';
|
||||
$data[3] .= '</div>';
|
||||
$data[3] .= '</table>';
|
||||
// Is possible manage actions if have LW permissions in the agent group of the alert module
|
||||
|
@ -1163,12 +1163,14 @@ function show_display_update_action(id_module_action, alert_id, alert_id_agent_m
|
|||
background: "black"
|
||||
},
|
||||
open: function() {
|
||||
$("#action_select_ajax").select2({
|
||||
$('#update_action-div').css('overflow', 'hidden');
|
||||
$("#action_select, #action_select_ajax").select2({
|
||||
tags: true,
|
||||
dropdownParent: $('#update_action-')
|
||||
});
|
||||
},
|
||||
width: 500,
|
||||
height: 300
|
||||
width: 455,
|
||||
height: 370
|
||||
})
|
||||
.show ();
|
||||
}
|
||||
|
|
|
@ -422,8 +422,8 @@ if ($show_update_action_menu) {
|
|||
$id_action
|
||||
);
|
||||
|
||||
$data .= '<form id="update_action-'.$alert['id'].'" method="post">';
|
||||
$data .= '<table class="databox_color w100p bg_color222">';
|
||||
$data .= '<form id="update_action-'.$alert['id'].'" method="post" style="height:85%;">';
|
||||
$data .= '<table class="databox_color w100p bg_color222" style="height:100%;">';
|
||||
$data .= html_print_input_hidden(
|
||||
'update_action',
|
||||
1,
|
||||
|
|
|
@ -3279,6 +3279,13 @@ td.empty_field {
|
|||
width: 96%;
|
||||
}
|
||||
|
||||
#update_action-
|
||||
> .select2-container--default
|
||||
.select2-results
|
||||
> .select2-results__options {
|
||||
max-height: 125px !important;
|
||||
}
|
||||
|
||||
/* Policies styles */
|
||||
|
||||
table#policy_modules td * {
|
||||
|
|
Loading…
Reference in New Issue