From 7ade777c54d5db3bc5621ab8fb0cfb7e57f516d7 Mon Sep 17 00:00:00 2001 From: Dongsheng Cai Date: Wed, 25 Aug 2010 06:24:17 +0000 Subject: [PATCH] "MDL-23917, added component parameter to comment api" --- comment/comment.js | 2 ++ comment/comment_ajax.php | 2 ++ comment/lib.php | 2 ++ 3 files changed, 6 insertions(+) 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: '