1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 07:01:12 +00:00

[folder perm] fixup for 'path'

This commit is contained in:
llj
2018-08-01 18:15:40 +08:00
parent efbfbb42c7
commit bc7184f75b
3 changed files with 7 additions and 7 deletions

View File

@@ -18,11 +18,9 @@ define([
initialize: function(options) {
this.repo_id = options.repo_id;
this.obj_name = options.obj_name;
this.dir_path = options.dir_path;
this.path = options.dir_path;
this.is_group_owned_repo = options.is_group_owned_repo;
this.group_id = options.group_id;
this.path = this.dir_path == '/' ? '/' :
Common.pathJoin([this.dir_path, this.obj_name]);
this.render();