freenet/fred-staging — pull request #90 by Thynix (2012-04-20 02:00:03+00:00)
Title: Remember Last Directory

Fixes [bug #5369](https://bugs.freenetproject.org/view.php?id=5369).

* A file browser will now remember the last selected directory (or directory something selected was in) and attempt to resume that view if no path is given initially.
** There is no button to clear this; should this be added?
** The contortions with filenameField() and checking for select-file and select-dir is to maintain compatibility with QueueToadlet.
* Cleanup:
** Repeated hardcoded values to static final variables.
** Some documentation.