From 077a40728507d6f03720ec59bb14d1264c81be5b Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 16 Feb 2016 11:24:44 +0100 Subject: Show the comments and tags on the share filters --- apps/comments/js/filesplugin.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/comments/js/filesplugin.js') 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; } -- cgit v1.2.3