diff --git a/lib/client.js b/lib/client.js index f6e81961..789a9997 100644 --- a/lib/client.js +++ b/lib/client.js @@ -302,7 +302,7 @@ var Util, DOM, CloudFunc; var NEEDREFRESH = true, panel = panelParam || current && current.parentElement, path = DOM.getCurrentDirPath(panel), - notSlashlLink = CloudFunc.rmLastSlash(path); + notSlashlLink = CloudFunc.rmLastSlash(path) || '/'; CloudCmd.loadDir({ path : notSlashlLink,