diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index bb69fc43f1..682a8ad276 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2009-10-01 Miguel de Dios + + * pandora_console/godmode/reporting/reporting_builder.php: change the + agent select html for ajax autocomplete ajax. Fix in part the bug + #2870769, exactly 1ยบ paragraph. + 2009-10-01 Miguel de Dios * pandora_console/godmode/alerts/alert_list.php: fix small bug that throw diff --git a/pandora_console/godmode/reporting/reporting_builder.php b/pandora_console/godmode/reporting/reporting_builder.php index 0db042f5f6..b14a414f61 100644 --- a/pandora_console/godmode/reporting/reporting_builder.php +++ b/pandora_console/godmode/reporting/reporting_builder.php @@ -370,7 +370,11 @@ if ($edit_sla_report_content) { $table->data[1][1] = print_select ($periods, 'period', 0, '', '--', 0, true, false, false, false); $table->data[2][0] = __('Source agent'); - $table->data[2][1] = print_select ($agents, 'id_agent', $id_agent, '', '--', 0, true); +// $table->data[2][1] = print_select ($agents, 'id_agent', $id_agent, '', '--', 0, true); + + $table->data[2][1] = print_input_text_extended ('id_agent', __('Select'), 'text_id_agent', '', 30, 100, false, '', + array('style' => 'background: url(images/lightning.png) no-repeat right;'), true) + . ' ' . __("Type two chars at least for search") . ''; $table->data[3][0] = __('Module'); $modules = array (); @@ -547,6 +551,8 @@ if ($edit_sla_report_content) { } require_jquery_file ('pandora.controls'); +require_jquery_file ('bgiframe'); +require_jquery_file ('autocomplete'); ?>