JSON.parse in applyState if the state is a string (as it is for the init.ial request load if not using fragment urls)

This fixes a long-standing bug on our install where non-fragment-url-loaded requests were getting a JavaScript error.
Absolutely -- but this was faster to fix, and other folks like us may need it unbroken now. If you have code knowledge to identify and fix the underlying issue, I'd be glad to contribute a code review.

-- 
James Brown,
currently mobile

> On Oct 30, 2014, at 01:15, Bruno Renié <notifications@github.com> wrote:
> 
> In webapp/content/js/dashboard.js:
> 
> > @@ -2536,6 +2536,13 @@ function getState() {
> >  function applyState(state) {
> >    setDashboardName(state.name);
> >  
> > +  // sometimes the server calls json.dumps once too many times.
> > +  // fixing that seems hard.
> Hmm, that's what needs to be fixed instead.
> 
> —
> Reply to this email directly or view it on GitHub.