fix permissions for drag-n-drop uploads
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
047fda6a81
commit
1a16ede0b2
1 changed files with 1 additions and 1 deletions
|
@ -2191,7 +2191,7 @@
|
|||
|
||||
_updateDirectoryPermissions: function() {
|
||||
var isCreatable = (this.dirInfo.permissions & OC.PERMISSION_CREATE) !== 0 && this.$el.find('#free_space').val() !== '0';
|
||||
this.$el.find('#permissions').val(permissions);
|
||||
this.$el.find('#permissions').val(this.dirInfo.permissions);
|
||||
this.$el.find('.creatable').toggleClass('hidden', !isCreatable);
|
||||
this.$el.find('.notCreatable').toggleClass('hidden', isCreatable);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue