From 5fec8b5abc8f6f7f7f6fd8a1ce7d2c521bd18440 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 13 Aug 2014 08:53:50 -0400 Subject: [PATCH] fix(client) refresh: init panel --- lib/client.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/client.js b/lib/client.js index 107bdff8..411cb282 100644 --- a/lib/client.js +++ b/lib/client.js @@ -292,6 +292,9 @@ var Util, DOM, CloudFunc; path = DOM.getCurrentDirPath(panel), notSlashlLink = CloudFunc.rmLastSlash(path) || '/'; + if (!panel) + panel = Info.panel; + CloudCmd.loadDir({ path : notSlashlLink, isRefresh : NEEDREFRESH,