From 0938a778966fcd4aa75c705360f6bc4a17325bff Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Thu, 1 Oct 2009 19:37:26 +0000 Subject: [PATCH] 2009-10-01 Miguel de Dios MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1998 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 + .../godmode/reporting/reporting_builder.php | 118 +++++++++++++----- 2 files changed, 96 insertions(+), 28 deletions(-) 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'); ?>