graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #04482
Re: [Question #192777]: URL parameter or setting to auto-hide navbar on dashboard view
Question #192777 on Graphite changed:
https://answers.launchpad.net/graphite/+question/192777
Jan-Helge posted a new comment:
Seems that the global variable in dashboard/index.html in the first
<head><script> stanza, does not get set later on.
Looking at the function getInitialState() at line 2269 of dashboard.js,
it seems to only update the graph particulars (nevermind the ambiguity
of get/set -- but the global var is unchanged.)
Then the altered code mentioned above by Jason Clint wil never be
executed (the global var always being NULL).
It's a bit difficult to se what the intent is, with a simple glance -
but perhaps the global was intented to be set by the "getInitialState()"
(or a return value from that method?)
// JHB
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.