Commit 8a2e238f authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Clear list of filenames before updating directory

parent c2c394f3
......@@ -269,9 +269,9 @@ function FileBrowser(element, source, statevars, changedircallback, actionname,
if (typeof(self.changedircallback) == 'function') {
self.changedircallback(dirNode.folderid, self.generatePath(dirNode));
}
self.filenames = {};
self.filelist.doupdate({'folder': dirNode.folderid});
self.breadcrumbUpdate();
self.filenames = {};
}
this.generatePath = function(dirNode) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment