fix(dom) twopack: lengh -> length

This commit is contained in:
coderaiser 2015-07-09 10:31:13 -04:00
parent 4ae8713f63
commit 27ca342407

View file

@ -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,