diff options
author | Robin Appelman <robin@icewind.nl> | 2019-07-01 11:58:13 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2019-07-01 11:58:13 +0200 |
commit | 258902b33715e9185235d4288e1933fec5d118c8 (patch) | |
tree | db9dae471167564e2eedd84bb66956845421df05 | |
parent | 7fbfa5cd99dca4260e7b819a2157f0421955ed10 (diff) | |
download | nextcloud-server-258902b33715e9185235d4288e1933fec5d118c8.tar.gz nextcloud-server-258902b33715e9185235d4288e1933fec5d118c8.zip |
fix permissions for drag-n-drop uploads
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r-- | apps/files/js/filelist.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 22b5a82326a..753b546b69d 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -2189,7 +2189,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); }, |