summaryrefslogtreecommitdiffstats
path: root/apps/comments/js/commentstabview.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-02-02 15:13:45 +0100
committerVincent Petry <pvince81@owncloud.com>2016-02-02 18:01:15 +0100
commit03f4b49eccc381deda4ad17fe7d74817b14b165a (patch)
treef597d45bbc26fc4eb98269f72762c80e01dbc463 /apps/comments/js/commentstabview.js
parent9028457ea2a150a586e63421382379f14cebd648 (diff)
downloadnextcloud-server-03f4b49eccc381deda4ad17fe7d74817b14b165a.tar.gz
nextcloud-server-03f4b49eccc381deda4ad17fe7d74817b14b165a.zip
Added JS unit tests for comments
Diffstat (limited to 'apps/comments/js/commentstabview.js')
-rw-r--r--apps/comments/js/commentstabview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/comments/js/commentstabview.js b/apps/comments/js/commentstabview.js
index fd6b7b07dcb..463ac2d76ef 100644
--- a/apps/comments/js/commentstabview.js
+++ b/apps/comments/js/commentstabview.js
@@ -57,7 +57,7 @@
initialize: function() {
OCA.Files.DetailTabView.prototype.initialize.apply(this, arguments);
- this.collection = new OCA.Comments.CommentsCollection();
+ this.collection = new OCA.Comments.CommentCollection();
this.collection.on('request', this._onRequest, this);
this.collection.on('sync', this._onEndRequest, this);
this.collection.on('add', this._onAddModel, this);