mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
fix(client) refresh: init panel
This commit is contained in:
parent
d4b8225030
commit
5fec8b5abc
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue