make graphs next to device name on overview go to the larger graph when clicked

git-svn-id: http://www.observium.org/svn/observer/trunk@2527 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-09-20 16:09:54 +00:00
parent 13f95c65ec
commit 52fe6aae5e

View File

@@ -205,6 +205,8 @@ function generate_graph_popup($graph_array)
$graph_array['from'] = $config['time']['year'];
$content .= generate_graph_tag($graph_array);
$content .= "</div>";
$graph_array['link'] = "graphs/type=" . $graph_array['type'] . "/id=" . $graph_array['id'];
return overlib_link($graph_array['link'], $graph, $content, NULL);
}