From d36b1c8c40c620d3dbf7218482ca517c70d96bd9 Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Mon, 23 Mar 2015 14:41:23 +0100 Subject: [PATCH] Returned deleted code --- .../operation/agentes/stat_win.php | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/pandora_console/operation/agentes/stat_win.php b/pandora_console/operation/agentes/stat_win.php index 498c37036b..f0c9e959c9 100644 --- a/pandora_console/operation/agentes/stat_win.php +++ b/pandora_console/operation/agentes/stat_win.php @@ -405,3 +405,39 @@ $label = base64_decode(get_parameter('label', '')); }); $('#checkbox-time_compare_overlapped').click(function() { $('#checkbox-time_compare_separated').removeAttr('checked'); + }); + + + + var show_overview = false; + var height_window; + var width_window; + $(document).ready(function() { + height_window = $(window).height(); + width_window = $(window).width(); + }); + + $("*").filter(function() { + if (typeof(this.id) == "string") + return this.id.match(/menu_overview_graph.*/); + else + return false; + }).click(function() { + if (show_overview) { + window.resizeTo(width_window + 20, height_window + 50); + } + else { + window.resizeTo(width_window + 20, height_window + 200); + } + show_overview = !show_overview; + + }); + + + forced_title_callback(); + \ No newline at end of file