diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-18 10:14:20 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-18 10:14:20 +0100 |
commit | 8798f85e881e9097d9efdadbc453a7ff05bc6a1f (patch) | |
tree | cb502b2bce4081ca42401d8aa60ecc44782b0bf7 /apps/comments | |
parent | bfd4a9548b014c790b683a4c0384750db73c4a87 (diff) | |
parent | 077a40728507d6f03720ec59bb14d1264c81be5b (diff) | |
download | nextcloud-server-8798f85e881e9097d9efdadbc453a7ff05bc6a1f.tar.gz nextcloud-server-8798f85e881e9097d9efdadbc453a7ff05bc6a1f.zip |
Merge pull request #22418 from owncloud/issue-22393-filelist-plugins-for-other-views
Show the comments and tags on the share filters
Diffstat (limited to 'apps/comments')
-rw-r--r-- | apps/comments/js/filesplugin.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/comments/js/filesplugin.js b/apps/comments/js/filesplugin.js index bf6bb05146b..084cfb41034 100644 --- a/apps/comments/js/filesplugin.js +++ b/apps/comments/js/filesplugin.js @@ -29,9 +29,9 @@ * @namespace */ OCA.Comments.FilesPlugin = { - allowedLists: [ - 'files', - 'favorites' + ignoreLists: [ + 'files_trashbin', + 'files.public' ], _formatCommentCount: function(count) { @@ -47,7 +47,7 @@ attach: function(fileList) { var self = this; - if (this.allowedLists.indexOf(fileList.id) < 0) { + if (this.ignoreLists.indexOf(fileList.id) >= 0) { return; } |