Show the comments and tags on the share filters
This commit is contained in:
parent
1cb3583a9a
commit
077a407285
|
@ -29,9 +29,9 @@
|
||||||
* @namespace
|
* @namespace
|
||||||
*/
|
*/
|
||||||
OCA.Comments.FilesPlugin = {
|
OCA.Comments.FilesPlugin = {
|
||||||
allowedLists: [
|
ignoreLists: [
|
||||||
'files',
|
'files_trashbin',
|
||||||
'favorites'
|
'files.public'
|
||||||
],
|
],
|
||||||
|
|
||||||
_formatCommentCount: function(count) {
|
_formatCommentCount: function(count) {
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
|
|
||||||
attach: function(fileList) {
|
attach: function(fileList) {
|
||||||
var self = this;
|
var self = this;
|
||||||
if (this.allowedLists.indexOf(fileList.id) < 0) {
|
if (this.ignoreLists.indexOf(fileList.id) >= 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,14 +21,13 @@
|
||||||
* @namespace
|
* @namespace
|
||||||
*/
|
*/
|
||||||
OCA.SystemTags.FilesPlugin = {
|
OCA.SystemTags.FilesPlugin = {
|
||||||
allowedLists: [
|
ignoreLists: [
|
||||||
'files',
|
'files_trashbin',
|
||||||
'favorites',
|
'files.public'
|
||||||
'systemtagsfilter'
|
|
||||||
],
|
],
|
||||||
|
|
||||||
attach: function(fileList) {
|
attach: function(fileList) {
|
||||||
if (this.allowedLists.indexOf(fileList.id) < 0) {
|
if (this.ignoreLists.indexOf(fileList.id) >= 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue