1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 14:42:10 +00:00

[dir view] modification

This commit is contained in:
llj
2017-01-07 17:55:16 +08:00
parent 77fa8c0c7a
commit fd4df3792c
4 changed files with 13 additions and 6 deletions

View File

@@ -153,8 +153,9 @@ define([
download: function() {
this.closeMenu();
var dir = this.dir;
var obj_name = this.model.get('obj_name');
Common.zipDownloadDirents(this.dir.repo_id, this.dir.path, obj_name);
Common.zipDownload(dir.repo_id, dir.path, obj_name);
return false;
},