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.

_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to