summaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-18 10:14:20 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-18 10:14:20 +0100
commit8798f85e881e9097d9efdadbc453a7ff05bc6a1f (patch)
treecb502b2bce4081ca42401d8aa60ecc44782b0bf7 /apps/comments
parentbfd4a9548b014c790b683a4c0384750db73c4a87 (diff)
parent077a40728507d6f03720ec59bb14d1264c81be5b (diff)
downloadnextcloud-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.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;
}