From 34a8473d81414e78505c9a412d1f3a5ba9a584c9 Mon Sep 17 00:00:00 2001 From: esanchezm Date: Wed, 4 Mar 2009 15:59:00 +0000 Subject: [PATCH] 2009-03-04 Esteban Sanchez * godmode/agentes/manage_config.php: Fixed a javascript error that doesn't allow to perform any operation. * godmode/alerts/configure_alert_action.php: Fixed javascript file inclusion. * godmode/reporting/map_builder.php: Fixed typo when updating a layout. * images/download.png: Added to repository. * include/functions_agents.php: Style correction. * include/functions_html.php: Added additional options to print_input_image(). * include/functions_ui.php: Added format_filesize(). git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1507 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 20 +++++++++++++++ .../godmode/agentes/manage_config.php | 2 +- .../godmode/alerts/configure_alert_action.php | 3 ++- .../godmode/reporting/map_builder.php | 2 +- pandora_console/images/download.png | Bin 0 -> 663 bytes pandora_console/include/functions_agents.php | 24 ++++++++++-------- pandora_console/include/functions_html.php | 19 ++++++++++++-- pandora_console/include/functions_ui.php | 18 +++++++++++++ 8 files changed, 72 insertions(+), 16 deletions(-) create mode 100644 pandora_console/images/download.png diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e08bcef605..83697dd1a3 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,23 @@ +2009-03-04 Esteban Sanchez + + * godmode/agentes/manage_config.php: Fixed a javascript error that + doesn't allow to perform any operation. + + * godmode/alerts/configure_alert_action.php: Fixed javascript file + inclusion. + + * godmode/reporting/map_builder.php: Fixed typo when updating a + layout. + + * images/download.png: Added to repository. + + * include/functions_agents.php: Style correction. + + * include/functions_html.php: Added additional options to + print_input_image(). + + * include/functions_ui.php: Added format_filesize(). + 2009-03-04 Evi Vanoost * include/functions_reporting.php, diff --git a/pandora_console/godmode/agentes/manage_config.php b/pandora_console/godmode/agentes/manage_config.php index 80e3b3f81b..63630846c9 100644 --- a/pandora_console/godmode/agentes/manage_config.php +++ b/pandora_console/godmode/agentes/manage_config.php @@ -294,7 +294,7 @@ $(document).ready (function () { return false; } - if ($(copy_modules).attr ("checked") && $("#target_modules\\[\\]").fieldValue ().length == 0) { + if ($(copy_modules).attr ("checked") && $("#target_modules").fieldValue ().length == 0) { $("#message").showMessage (""); return false; } diff --git a/pandora_console/godmode/alerts/configure_alert_action.php b/pandora_console/godmode/alerts/configure_alert_action.php index 0dbed33fe3..e48c6fb83a 100644 --- a/pandora_console/godmode/alerts/configure_alert_action.php +++ b/pandora_console/godmode/alerts/configure_alert_action.php @@ -86,7 +86,8 @@ if ($id) { } echo ''; echo ''; -$config['js'][] = 'pandora_alerts'; + +require_javascript_file ('pandora_alerts'); ?>