summaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-02-16 11:24:44 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-02-16 11:24:44 +0100
commit077a40728507d6f03720ec59bb14d1264c81be5b (patch)
treee4d3e6e0753a58a9bf40492f73a7f8bcaa93a838 /apps/comments
parent1cb3583a9a28c13d07fa83b569bfa78df9cbf79d (diff)
downloadnextcloud-server-077a40728507d6f03720ec59bb14d1264c81be5b.tar.gz
nextcloud-server-077a40728507d6f03720ec59bb14d1264c81be5b.zip
Show the comments and tags on the share filters
Diffstat (limited to 'apps/comments')
-rw-r--r--apps/comments/js/filesplugin.js8
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;
}