From 0bb91cfcf3d0f25ab4962c1417206451bebdb978 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= <jfd@butonic.de>
Date: Wed, 7 Jan 2015 15:59:34 +0100
Subject: [PATCH] don't show no files yet when mask is in place, fixes #13141

---
 apps/files/js/filelist.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index e680ef4b3e..80f9d9c30c 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');
 			}
 		},
-- 
GitLab