mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
fix(dom) when create archive do not set current on it: .gz -> .zip
This commit is contained in:
parent
d5b50a9383
commit
7f00b601cc
1 changed files with 2 additions and 2 deletions
|
|
@ -500,11 +500,11 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
if (operation.pack) {
|
||||
op = RESTful.zip;
|
||||
nameDir = name + '.tar.gz';
|
||||
nameFile = name + '.gz';
|
||||
nameFile = name + '.zip';
|
||||
} else if (operation.unpack) {
|
||||
op = RESTful.unzip;
|
||||
nameDir = Util.rmStrOnce(name, '.tar.gz');
|
||||
nameFile = Util.rmStrOnce(name, '.gz');
|
||||
nameFile = Util.rmStrOnce(name, '.zip');
|
||||
}
|
||||
|
||||
Images.showLoad();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue