Fixed width in the select to load filters in events view
This commit is contained in:
parent
2aaf78b4ab
commit
a11b18292c
|
@ -376,8 +376,9 @@ if ($load_filter_modal) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$table->styleTable = 'font-weight: bold; color: #555; text-align:left;';
|
$table->styleTable = 'font-weight: bold; color: #555; text-align:left;';
|
||||||
if (!is_metaconsole()) {
|
$filter_id_width = '200px';
|
||||||
$table->style[0] = 'width: 50%; width:50%;';
|
if (is_metaconsole()) {
|
||||||
|
$filter_id_width = '150px';
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = [];
|
$data = [];
|
||||||
|
@ -390,7 +391,12 @@ if ($load_filter_modal) {
|
||||||
'',
|
'',
|
||||||
__('None'),
|
__('None'),
|
||||||
0,
|
0,
|
||||||
true
|
true,
|
||||||
|
false,
|
||||||
|
true,
|
||||||
|
'',
|
||||||
|
false,
|
||||||
|
'margin-left:5px; width:'.$filter_id_width.';'
|
||||||
);
|
);
|
||||||
$data[1] = html_print_submit_button(
|
$data[1] = html_print_submit_button(
|
||||||
__('Load filter'),
|
__('Load filter'),
|
||||||
|
@ -411,10 +417,11 @@ function show_filter() {
|
||||||
resizable: true,
|
resizable: true,
|
||||||
draggable: true,
|
draggable: true,
|
||||||
modal: false,
|
modal: false,
|
||||||
closeOnEscape: true
|
closeOnEscape: true,
|
||||||
|
width: 450
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
//aki
|
||||||
function load_form_filter() {
|
function load_form_filter() {
|
||||||
jQuery.post (
|
jQuery.post (
|
||||||
"<?php echo ui_get_full_url('ajax.php', false, false, false); ?>",
|
"<?php echo ui_get_full_url('ajax.php', false, false, false); ?>",
|
||||||
|
|
Loading…
Reference in New Issue