Fixed width in the select to load filters in events view

This commit is contained in:
Tatiana Llorente 2019-11-12 17:12:44 +01:00
parent 2aaf78b4ab
commit a11b18292c
1 changed files with 12 additions and 5 deletions

View File

@ -376,8 +376,9 @@ if ($load_filter_modal) {
}
$table->styleTable = 'font-weight: bold; color: #555; text-align:left;';
if (!is_metaconsole()) {
$table->style[0] = 'width: 50%; width:50%;';
$filter_id_width = '200px';
if (is_metaconsole()) {
$filter_id_width = '150px';
}
$data = [];
@ -390,7 +391,12 @@ if ($load_filter_modal) {
'',
__('None'),
0,
true
true,
false,
true,
'',
false,
'margin-left:5px; width:'.$filter_id_width.';'
);
$data[1] = html_print_submit_button(
__('Load filter'),
@ -411,10 +417,11 @@ function show_filter() {
resizable: true,
draggable: true,
modal: false,
closeOnEscape: true
closeOnEscape: true,
width: 450
});
}
//aki
function load_form_filter() {
jQuery.post (
"<?php echo ui_get_full_url('ajax.php', false, false, false); ?>",