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

[sub lib] bugfix for 'create' & 'dir op bar'

This commit is contained in:
llj
2015-05-27 17:09:29 +08:00
parent f16a44c1aa
commit 46334b8118
3 changed files with 15 additions and 14 deletions

View File

@@ -263,16 +263,16 @@ define([
},
renderDirOpBar: function() {
var dir = this.dir,
user_perm = dir.user_perm;
var dir = this.dir;
this.$dir_op_bar.html($.trim(this.dir_op_bar_template({
user_perm: user_perm,
user_perm: dir.user_perm,
encrypted: dir.encrypted,
path: dir.path,
repo_id: dir.repo_id,
site_root: app.pageOptions.site_root,
is_repo_owner: dir.is_repo_owner,
is_virtual: dir.is_virtual,
enable_upload_folder: app.pageOptions.enable_upload_folder
})));
},