From ca2def81ceba7dc508fc91d079ec43dd37aaa51e Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Wed, 8 Apr 2015 16:57:36 +0200 Subject: [PATCH] Remove a javascript debug trace (backport from develop). --- .../extensions/realtime_graphs/realtime_graphs.js | 1 - .../reporting/reporting_builder.item_editor.php | 12 ++++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/pandora_console/extensions/realtime_graphs/realtime_graphs.js b/pandora_console/extensions/realtime_graphs/realtime_graphs.js index 6907c5e8ee..0d2b651313 100644 --- a/pandora_console/extensions/realtime_graphs/realtime_graphs.js +++ b/pandora_console/extensions/realtime_graphs/realtime_graphs.js @@ -176,7 +176,6 @@ function clearGraph() { if (data.length == 0) { return; } - console.log(data); for(i = 0; i < data[0].data.length; i ++) { data[0].data[i][1] = 0; diff --git a/pandora_console/godmode/reporting/reporting_builder.item_editor.php b/pandora_console/godmode/reporting/reporting_builder.item_editor.php index 4664d09202..64e873d8ec 100644 --- a/pandora_console/godmode/reporting/reporting_builder.item_editor.php +++ b/pandora_console/godmode/reporting/reporting_builder.item_editor.php @@ -64,10 +64,10 @@ $top_n_value = 10; $exception_condition = REPORT_EXCEPTION_CONDITION_EVERYTHING; $exception_condition_value = 10; $modulegroup = 0; -$period = 86400; +$period = SECONDS_1DAY; // Added support for projection graphs -$period_pg = 432000; -$projection_period = 432000; +$period_pg = SECONDS_5DAY; +$projection_period = SECONDS_5DAY; $only_display_wrong = 0; // Added support for prediction date report $min_interval = '0.00'; @@ -516,6 +516,8 @@ $urlForm = $config['homeurl'] . echo '
'; html_print_input_hidden('id_item', $idItem); + + ?> @@ -1099,7 +1101,7 @@ html_print_input_hidden('id_item', $idItem); ?> - +
+
+