modxcms/revolution — pull request #359 by rtripault (2012-08-23 07:38:08+00:00)
Title: "hacky" way to fix bug #6012

Currently, when you hide the treePanel and reload/browse to another manager page, a wrapping div is added with display : none style.
When you restore the treePanel, this div stays, resulting in a non-visible treePanel (as well as some toolbars rendered -- albeit not visible -- with an incorrect width).

So onStateSave, if the tree is expanded, i check if this div is present & "hidden", if so remove the display : none, then execute reDrawWest method to "resize" the toolbars.

That's somehow "hacky" but working (tested on various browsers).
Hope that will make it for you until a better solution is found :)