From a11b18292c436663d4617296e48f80742da245fa Mon Sep 17 00:00:00 2001 From: Tatiana Llorente Date: Tue, 12 Nov 2019 17:12:44 +0100 Subject: [PATCH] Fixed width in the select to load filters in events view --- pandora_console/include/ajax/events.php | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pandora_console/include/ajax/events.php b/pandora_console/include/ajax/events.php index ad9d59a748..54f7576c86 100644 --- a/pandora_console/include/ajax/events.php +++ b/pandora_console/include/ajax/events.php @@ -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 ( "",