diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-10-23 08:18:14 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-10-23 08:18:14 +0200 |
commit | b662977862848bf623c3c461a9fc12389c540b6e (patch) | |
tree | 2498c620ee2cfda6ec760927a030ad116dd51a51 /apps | |
parent | e51d1867c38f287d5e8115980b11cc749e7b0b21 (diff) | |
download | nextcloud-server-b662977862848bf623c3c461a9fc12389c540b6e.tar.gz nextcloud-server-b662977862848bf623c3c461a9fc12389c540b6e.zip |
Fix table hidden on empty folder
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/js/filelist.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 65d26545412..213d65cdad0 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -2780,8 +2780,9 @@ var permissions = this.getDirectoryPermissions(); var isCreatable = (permissions & OC.PERMISSION_CREATE) !== 0; this.$el.find('#emptycontent').toggleClass('hidden', !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); + this.$el.find('#filestable').toggleClass('hidden', this.isEmpty); }, /** * Shows the loading mask. |