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

modified lib op icons & dir op bar

This commit is contained in:
llj
2015-04-03 15:22:24 +08:00
committed by Daniel Pan
parent 2a90af3675
commit d612ec360c
2 changed files with 12 additions and 10 deletions

View File

@@ -458,7 +458,7 @@ define([
'repo_id': dir.repo_id,
'is_dir': true,
'dirent_path': path,
'obj_name': path.substr(path.lastIndexOf('/') + 1)
'obj_name': path == '/' ? dir.repo_name : path.substr(path.lastIndexOf('/') + 1)
};
new ShareView(options);
},