From 84fca6657b685ba1a2be39906655a5e0eb239a7b Mon Sep 17 00:00:00 2001 From: vgilc Date: Tue, 26 Jul 2011 12:04:28 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4625 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++++ .../operation/agentes/alerts_status.functions.php | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 7ece964394..b0b3bacfad 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2011-07-26 Vanessa Gil + + * operation/agentes/alerts_status_functions.php: Update the alerts search with "Filter" button. + 2011-07-26 Sergio Martin * pandoradb_data.sql diff --git a/pandora_console/operation/agentes/alerts_status.functions.php b/pandora_console/operation/agentes/alerts_status.functions.php index c23b1af3af..bb3d041e88 100755 --- a/pandora_console/operation/agentes/alerts_status.functions.php +++ b/pandora_console/operation/agentes/alerts_status.functions.php @@ -43,8 +43,7 @@ function printFormFilterAlert($id_group, $filter, $free_search, $url, $filter_st $table->style = array (); $table->data[0][0] = __('Group'); - $table->data[0][1] = html_print_select_groups(false, "AR", true, "ag_group", $id_group, - 'javascript:this.form.submit();', '', '', true); + $table->data[0][1] = html_print_select_groups(false, "AR", true, "ag_group", $id_group, '', '', '', true); $alert_status_filter = array(); $alert_status_filter['all_enabled'] = __('All (Enabled)'); @@ -59,13 +58,13 @@ function printFormFilterAlert($id_group, $filter, $free_search, $url, $filter_st $alert_standby['standby_off'] = __('Standby off'); $table->data[0][2] = __('Status'); - $table->data[0][3] = html_print_select ($alert_status_filter, "filter", $filter, 'javascript:this.form.submit();', '', '', true); + $table->data[0][3] = html_print_select ($alert_status_filter, "filter", $filter, '', '', '', true);; $table->data[0][4] = ''; $table->data[1][0] = __('Free text for search') . ' ' . __("Filter by agent name, module name, template name or action name") . ''; $table->data[1][1] = html_print_input_text('free_search', $free_search, '', 20, 40, true); $table->data[1][2] = __('Standby'); - $table->data[1][3] = html_print_select ($alert_standby, "filter_standby", $filter_standby, 'javascript:this.form.submit();', '', '', true); + $table->data[1][3] = html_print_select ($alert_standby, "filter_standby", $filter_standby, '', '', '', true); $table->data[1][4] = html_print_submit_button(__('Filter'), 'filter_button', false, 'class="sub search"', true); $data = '
';