diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 4a77709962..14a5edb2d7 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -207,6 +207,10 @@ this._filesConfig = options.config; } else if (!_.isUndefined(OCA.Files) && !_.isUndefined(OCA.Files.App)) { this._filesConfig = OCA.Files.App.getFilesConfig(); + } else { + this._filesConfig = new OC.Backbone.Model({ + 'showhidden': false + }); } if (options.dragOptions) {