Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Dashboard sometimes loads with odd width #378

Closed
philipn opened this Issue · 2 comments

2 participants

@philipn
Owner

I think this has to do with the time the events fire.

Noticing this some of the time in Firefox on https://scruzwiki.org (which has the latest master w/ turbodashboard merged)

img

Tagging @rtucker

@rtucker
@rtucker rtucker referenced this issue from a commit in rtucker/localwiki
@rtucker rtucker Adjust ordering of dashboard loads to avoid races
Start loading the graphs after the summary is received (and
the entire stats page is visible), so that we don't end up in
a case where the graphs are hidden while being generated.

Have not been able to reproduce #378 with this in place.
df18498
@rtucker

Commit df18498 seems to fix it... I believe the graph data would sometimes load before the summary numbers, and thus the $.plot() would occur before the stats div was .show()'d.

Haven't seen the problem happen since this, going to submit a pull request to see if that makes it start happening again :-)

@philipn philipn closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.