Clicking on folder in filelist results in JS error.
When using the filelist main frame
for navigation through the folder structure
there is still some leftover from the old
code, which changes the highlighted
item when clicking on a folder.
The patch solves the issue by properly
addressing the navigation frame and
the JS method.
This part is actually a leftover from pre-4.2
code which was not changed by me in 4.2
with the introduction of the AJAX-based
folder tree with prototype.js.