diff --git a/lib/client.js b/lib/client.js index 702e89aa..1929fbd9 100644 --- a/lib/client.js +++ b/lib/client.js @@ -312,15 +312,15 @@ var Util, DOM, CloudFunc; }); }; - this.refresh = function(pCurrent) { - var lNEEDREFRESH = true, - lPanel = pCurrent && pCurrent.parentElement, - lPath = DOM.getCurrentDirPath(lPanel), - lLink = CloudFunc.FS + lPath, - lNotSlashlLink = CloudFunc.rmLastSlash(lLink), - lLoad = CloudCmd.loadDir(lNotSlashlLink, lNEEDREFRESH); + this.refresh = function(current) { + var NEEDREFRESH = true, + panel = current && current.parentElement, + path = DOM.getCurrentDirPath(panel), + link = CloudFunc.FS + path, + notSlashlLink = CloudFunc.rmLastSlash(link), + load = CloudCmd.loadDir(notSlashlLink, NEEDREFRESH); - lLoad(); + load(); }; /**