diff options
author | Peter Wu | 2014-12-14 01:07:14 +0100 |
---|---|---|
committer | Pim van den Berg | 2014-12-14 15:58:35 +0100 |
commit | ab2bcff2d4bba317317e9e8fae071c840add63c7 (patch) | |
tree | 1c1d2bbc833c450f1e852a15f44b575253fbd2c1 /detail.php | |
parent | inc/html: include jquery from local source (diff) | |
download | apt-panopticon_cgp-ab2bcff2d4bba317317e9e8fae071c840add63c7.zip apt-panopticon_cgp-ab2bcff2d4bba317317e9e8fae071c840add63c7.tar.gz apt-panopticon_cgp-ab2bcff2d4bba317317e9e8fae071c840add63c7.tar.bz2 apt-panopticon_cgp-ab2bcff2d4bba317317e9e8fae071c840add63c7.tar.xz |
Revert "make detail page accessible when using "canvas" graph_type"
This reverts commit 82d88098f4203cf7402d4faf5ad100cada70efaf.
Breaks async rendering, see
https://github.com/pommi/CGP/issues/106#issuecomment-66896905
Diffstat (limited to 'detail.php')
-rw-r--r-- | detail.php | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -55,9 +55,7 @@ print "</ul>\n"; | |||
55 | 55 | ||
56 | if ($CONFIG['graph_type'] == 'canvas') { | 56 | if ($CONFIG['graph_type'] == 'canvas') { |
57 | chdir($CONFIG['webdir']); | 57 | chdir($CONFIG['webdir']); |
58 | printf('<canvas id="%s" class="rrd">', generate_uuid()); | ||
59 | include $CONFIG['webdir'].'/graph.php'; | 58 | include $CONFIG['webdir'].'/graph.php'; |
60 | print '</canvas>'; | ||
61 | } else { | 59 | } else { |
62 | printf("<img src=\"%s%s\">\n", | 60 | printf("<img src=\"%s%s\">\n", |
63 | htmlentities($CONFIG['weburl']), | 61 | htmlentities($CONFIG['weburl']), |