diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 46b383165a..a85d5d232b 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,14 @@ +2011-01-21 Miguel de Dios + + * include/javascript/pandora.js, operation/agentes/exportdata.php, + operation/agentes/ver_agente.php, + godmode/reporting/visual_console_builder.wizard.php, + godmode/reporting/visual_console_builder.editor.js, + godmode/reporting/visual_console_builder.elements.php: fixed to show by ajax + the disabled modules and the disabled agents. + + Fixes: #3155701 + 2011-01-22 Sancho Lerena * pandoradb_data.sql: Updated SQL with version and new embedded "so". diff --git a/pandora_console/godmode/reporting/visual_console_builder.editor.js b/pandora_console/godmode/reporting/visual_console_builder.editor.js index fe84bd34f4..f9b4b6f139 100644 --- a/pandora_console/godmode/reporting/visual_console_builder.editor.js +++ b/pandora_console/godmode/reporting/visual_console_builder.editor.js @@ -53,6 +53,7 @@ function eventsTextAgent() { scroll:true, extraParams: { page: "operation/agentes/exportdata", + all: "enabled", search_agents: 1, id_group: function() { return $("#group").val(); } }, diff --git a/pandora_console/godmode/reporting/visual_console_builder.elements.php b/pandora_console/godmode/reporting/visual_console_builder.elements.php index c180b0396b..b2f53014d5 100644 --- a/pandora_console/godmode/reporting/visual_console_builder.elements.php +++ b/pandora_console/godmode/reporting/visual_console_builder.elements.php @@ -143,7 +143,8 @@ foreach ($layoutDatas as $layoutData) { 'onclick="javascript: if (!confirm(\'' . __('Are you sure?') . '\')) return false;">'; $table->data[$i + 2]['icon'] = ''; - $table->data[$i + 2][0] = ' ' . __("Type at least two characters to search.") . '' . print_input_text_extended ('agent_' . $idLayoutData, get_agent_name($layoutData['id_agent']), 'text-agent_' . $idLayoutData, '', 15, 100, false, '', + $table->data[$i + 2][0] = ' ' . __("Type at least two characters to search.") . '' . + print_input_text_extended ('agent_' . $idLayoutData, get_agent_name($layoutData['id_agent']), 'text-agent_' . $idLayoutData, '', 15, 100, false, '', array('class' => 'text-agent', 'style' => 'background: #ffffff url(images/lightning.png) no-repeat right;'), true); $sql = 'SELECT id_agente_modulo, nombre FROM tagente_modulo WHERE disabled = 0 AND id_agente = ' . $layoutData['id_agent']; $table->data[$i + 2][1] = print_select_from_sql($sql, @@ -216,6 +217,7 @@ $(".text-agent").autocomplete( scroll:true, extraParams: { page: "operation/agentes/exportdata", + all: "enabled", search_agents: 1, id_group: function() { return $("#group").val(); } }, diff --git a/pandora_console/godmode/reporting/visual_console_builder.wizard.php b/pandora_console/godmode/reporting/visual_console_builder.wizard.php index d4470dcf6a..5d7a06cbc2 100644 --- a/pandora_console/godmode/reporting/visual_console_builder.wizard.php +++ b/pandora_console/godmode/reporting/visual_console_builder.wizard.php @@ -80,6 +80,7 @@ echo ''; echo ''; ?>