diff --git a/lib/client/dom.js b/lib/client/dom.js index 1775cf9d..5ab956fc 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -590,16 +590,16 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; * */ this.zipFile = function() { - var RESTful = DOM.RESTful, - lName = Cmd.getCurrentName(), - lDir = Cmd.getCurrentDirPath(), - lPath = lDir + lName, - lFiles = { - from : lPath + var RESTful = DOM.RESTful, + name = Cmd.getCurrentName(), + dir = Cmd.getCurrentDirPath(), + path = dir + name, + fileFrom = { + from : path }; - if (lName && lName !== '..') - RESTful.zip(lFiles, CloudCmd.refresh); + if (name && name !== '..') + RESTful.zip(fileFrom, CloudCmd.refresh); };