mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 16:10:26 +00:00
[dir view] check quota for fileupload
This commit is contained in:
@@ -219,6 +219,9 @@ define([
|
||||
if (!dir.user_perm || dir.user_perm != 'rw') {
|
||||
return;
|
||||
}
|
||||
if (dir.no_quota) {
|
||||
return;
|
||||
}
|
||||
|
||||
var $popup = this.fileUploadView.$el;
|
||||
|
||||
@@ -434,6 +437,7 @@ define([
|
||||
|
||||
this.$dir_op_bar.html($.trim(this.dir_op_bar_template({
|
||||
user_perm: dir.user_perm,
|
||||
no_quota: dir.no_quota,
|
||||
encrypted: dir.encrypted,
|
||||
mode: this.view_mode,
|
||||
path: dir.path,
|
||||
|
Reference in New Issue
Block a user