Browse Source

Show the comments and tags on the share filters

tags/v9.0.0beta2
Joas Schilling 8 years ago
parent
commit
077a407285
2 changed files with 8 additions and 9 deletions
  1. 4
    4
      apps/comments/js/filesplugin.js
  2. 4
    5
      apps/systemtags/js/filesplugin.js

+ 4
- 4
apps/comments/js/filesplugin.js View File

@@ -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;
}


+ 4
- 5
apps/systemtags/js/filesplugin.js View File

@@ -21,14 +21,13 @@
* @namespace
*/
OCA.SystemTags.FilesPlugin = {
allowedLists: [
'files',
'favorites',
'systemtagsfilter'
ignoreLists: [
'files_trashbin',
'files.public'
],

attach: function(fileList) {
if (this.allowedLists.indexOf(fileList.id) < 0) {
if (this.ignoreLists.indexOf(fileList.id) >= 0) {
return;
}


Loading…
Cancel
Save