Fixed the logic for hiding again the already collapsed folders which are temporarily shown when one of their ancestor gets re-expanded. Not quite sure how I got to the previous flawed code. Closes #5846.
Authored by: cboos 2007-08-14
Parent: [r5906]
Child: [r5908]