diff --git a/comment/comment.js b/comment/comment.js index 8d13582be4304..cce6192bbd04d 100644 --- a/comment/comment.js +++ b/comment/comment.js @@ -37,6 +37,7 @@ M.core_comment = { this.client_id = args.client_id; this.itemid = args.itemid; this.commentarea = args.commentarea; + this.component = args.component; this.courseid = args.courseid; this.contextid = args.contextid; this.env = args.env; @@ -121,6 +122,7 @@ bodyContent: '