diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2016-08-29 20:35:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-29 20:35:56 +0200 |
commit | 606fd77432feb28b4a9a1ab52885560081c77540 (patch) | |
tree | 13934ff114fa666a71d0d6b1e0f6f2cbe5d5509d /apps | |
parent | 1f8c3c153c3dc1700853f50dc745d51994761014 (diff) | |
parent | 29b45c5c426d390ed2f90720b6c987883708ba2e (diff) | |
download | nextcloud-server-606fd77432feb28b4a9a1ab52885560081c77540.tar.gz nextcloud-server-606fd77432feb28b4a9a1ab52885560081c77540.zip |
Merge pull request #1146 from nextcloud/init-filesconfig
Make sure file list files config always exists
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/js/filelist.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index f191ade240b..e11f828b7c6 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -212,6 +212,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) { |