From a151dbcf6fc973947d396358e08d7ef30c816033 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 27 Jun 2014 04:05:20 -0400 Subject: [PATCH] fix(client) refresh: add "/" --- lib/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,