summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2015-01-07 15:59:34 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2015-01-07 15:59:39 +0100
commit0bb91cfcf3d0f25ab4962c1417206451bebdb978 (patch)
tree6a40aebe517fffc4d323ee2ca5d3b2476ea60ecb /apps/files
parent5ce295907fd9469905d561de71d83149a6c0f6c5 (diff)
downloadnextcloud-server-0bb91cfcf3d0f25ab4962c1417206451bebdb978.tar.gz
nextcloud-server-0bb91cfcf3d0f25ab4962c1417206451bebdb978.zip
don't show no files yet when mask is in place, fixes #13141
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/filelist.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index e680ef4b3ed..80f9d9c30c3 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1696,7 +1696,9 @@
}
} else {
this.$el.find('#filestable thead th').toggleClass('hidden', this.isEmpty);
- this.$el.find('#emptycontent').toggleClass('hidden', !this.isEmpty);
+ if (!this.$el.find('.mask').exists()) {
+ this.$el.find('#emptycontent').toggleClass('hidden', !this.isEmpty);
+ }
this.$el.find('.nofilterresults').addClass('hidden');
}
},