mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
#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] .= '</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] .= '</div>';
|
||||||
$data[3] .= '</table>';
|
$data[3] .= '</table>';
|
||||||
// Is possible manage actions if have LW permissions in the agent group of the alert module
|
// 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"
|
background: "black"
|
||||||
},
|
},
|
||||||
open: function() {
|
open: function() {
|
||||||
$("#action_select_ajax").select2({
|
$('#update_action-div').css('overflow', 'hidden');
|
||||||
|
$("#action_select, #action_select_ajax").select2({
|
||||||
|
tags: true,
|
||||||
dropdownParent: $('#update_action-')
|
dropdownParent: $('#update_action-')
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
width: 500,
|
width: 455,
|
||||||
height: 300
|
height: 370
|
||||||
})
|
})
|
||||||
.show ();
|
.show ();
|
||||||
}
|
}
|
||||||
|
@ -422,8 +422,8 @@ if ($show_update_action_menu) {
|
|||||||
$id_action
|
$id_action
|
||||||
);
|
);
|
||||||
|
|
||||||
$data .= '<form id="update_action-'.$alert['id'].'" method="post">';
|
$data .= '<form id="update_action-'.$alert['id'].'" method="post" style="height:85%;">';
|
||||||
$data .= '<table class="databox_color w100p bg_color222">';
|
$data .= '<table class="databox_color w100p bg_color222" style="height:100%;">';
|
||||||
$data .= html_print_input_hidden(
|
$data .= html_print_input_hidden(
|
||||||
'update_action',
|
'update_action',
|
||||||
1,
|
1,
|
||||||
|
@ -3279,6 +3279,13 @@ td.empty_field {
|
|||||||
width: 96%;
|
width: 96%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#update_action-
|
||||||
|
> .select2-container--default
|
||||||
|
.select2-results
|
||||||
|
> .select2-results__options {
|
||||||
|
max-height: 125px !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* Policies styles */
|
/* Policies styles */
|
||||||
|
|
||||||
table#policy_modules td * {
|
table#policy_modules td * {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user