fix(client) refresh: add "/"

This commit is contained in:
coderaiser 2014-06-27 04:05:20 -04:00
parent 5c2092da78
commit a151dbcf6f

View file

@ -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,