mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(dom) twopack: lengh -> length
This commit is contained in:
parent
4ae8713f63
commit
27ca342407
1 changed files with 3 additions and 3 deletions
|
|
@ -499,10 +499,10 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
case 'pack':
|
||||
op = RESTful.pack;
|
||||
|
||||
if (names.lengh > 1)
|
||||
if (names.length > 1)
|
||||
name = Info.dir;
|
||||
else
|
||||
name += '.tar.gz';
|
||||
|
||||
name += '.tar.gz';
|
||||
|
||||
fileFrom = {
|
||||
from : dirPath,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue