Skip to content

Commit

Permalink
Inspect graph was broken in graph all periods page
Browse files Browse the repository at this point in the history
  • Loading branch information
vvuksan committed Mar 21, 2019
1 parent 8cb9a58 commit d4bbe11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions graph_all_periods.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
$tpl = new Dwoo_Template_File(template("graph_all_periods.tpl"));
$data = new Dwoo_Data();

$data->assign("refresh", $conf['default_refresh']);
$data->assign("conf", $conf);
$data->assign("embed",
isset($_REQUEST['embed']) ? $_REQUEST['embed'] : NULL);
Expand Down
2 changes: 2 additions & 0 deletions templates/default/graph_all_periods.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
{include('scripts.tpl')}
{/if}
<script type="text/javascript">
var g_refreshInterval = {$refresh};
function openDecompose($url) {
$.cookie("ganglia-selected-tab-" + window.name, 0);
location.href="./index.php" + $url + "&amp;tab=m";
Expand Down

0 comments on commit d4bbe11

Please sign in to comment.