diff options
author | Robin Appelman <robin@icewind.nl> | 2019-07-01 15:23:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-01 15:23:47 +0200 |
commit | ae4ae0d3d063663fb66826f5dc155245b28456ae (patch) | |
tree | f9c0a6137ac7b24e75b2587ea8667cf9bfd5316a | |
parent | 1074e9838b508aacaac8e8d49f9506d68402dafa (diff) | |
parent | 258902b33715e9185235d4288e1933fec5d118c8 (diff) | |
download | nextcloud-server-ae4ae0d3d063663fb66826f5dc155245b28456ae.tar.gz nextcloud-server-ae4ae0d3d063663fb66826f5dc155245b28456ae.zip |
Merge pull request #16170 from nextcloud/dnd-upload-permissions
fix permissions for drag-n-drop uploads
-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); }, |