aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/filelist.js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2015-04-21 15:30:57 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2015-04-21 15:30:57 +0200
commit1d1e188a7aa0870709c87b937cd7f71a6daa7afd (patch)
tree9cced6f1bd3f2bd97a3e653e279658f5579cb3ad /apps/files/js/filelist.js
parent503243e19152bc4685d048fd0c376c1b4b145a39 (diff)
parent53a23364ef5184d049674e50447c2a0fbe8be72a (diff)
downloadnextcloud-server-1d1e188a7aa0870709c87b937cd7f71a6daa7afd.tar.gz
nextcloud-server-1d1e188a7aa0870709c87b937cd7f71a6daa7afd.zip
Merge pull request #15769 from owncloud/files-emptycontentreadonly
Added empty content message for empty read-only folders
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r--apps/files/js/filelist.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 9d60e77b0ac..0181acab596 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1623,7 +1623,8 @@
updateEmptyContent: function() {
var permissions = this.getDirectoryPermissions();
var isCreatable = (permissions & OC.PERMISSION_CREATE) !== 0;
- this.$el.find('#emptycontent').toggleClass('hidden', !isCreatable || !this.isEmpty);
+ this.$el.find('#emptycontent').toggleClass('hidden', !this.isEmpty);
+ this.$el.find('#emptycontent .uploadmessage').toggleClass('hidden', !isCreatable || !this.isEmpty);
this.$el.find('#filestable thead th').toggleClass('hidden', this.isEmpty);
},
/**