diff --git a/lib/client/dom.js b/lib/client/dom.js index e7b53236..d88a7240 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -1406,11 +1406,12 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; */ this.setCurrentName = function(name, current) { var link = this.getCurrentLink(current), - dir = this.getCurrentDirName() + '/', + FS = CloudFunc.FS, + dir = FS + this.getCurrentDirPath(), panel = DOM.getPanel(); link.title = link.textContent = name; - link.href = name; + link.href = dir + name; current.id = name + '(' + panel.id + ')'; return link;