diff --git a/lib/form/filemanager.js b/lib/form/filemanager.js
index <HASH>..<HASH> 100644
--- a/lib/form/filemanager.js
+++ b/lib/form/filemanager.js
@@ -450,7 +450,7 @@ M.form_filemanager.init = function(Y, options) {
         },
         view_files: function(appendfiles) {
             this.filemanager.removeClass('fm-updating').removeClass('fm-noitems');
-            if ((appendfiles == null) && (!this.options.list || this.options.list.length == 0)) {
+            if ((appendfiles == null) && (!this.options.list || this.options.list.length == 0) && this.viewmode != 2) {
                 this.filemanager.addClass('fm-noitems');
                 return;
             }
MDL-<I>: filemanger: fixed bug with switching to treeview in empty folder