PROD-2138
This commit is contained in:
committed by
Ali-D-Akbar
parent
67395683af
commit
158a600f91
@@ -43,8 +43,11 @@
|
||||
ResponseCommentEditView.prototype.render = function() {
|
||||
var context = $.extend({mode: this.options.mode, startHeader: this.options.startHeader},
|
||||
this.model.attributes);
|
||||
this.template = _.template($('#response-comment-edit-template').html());
|
||||
this.$el.html(this.template(context));
|
||||
this.template = edx.HtmlUtils.template($('#response-comment-edit-template').html());
|
||||
edx.HtmlUtils.setHtml(
|
||||
this.$el,
|
||||
this.template(context)
|
||||
);
|
||||
this.delegateEvents();
|
||||
DiscussionUtil.makeWmdEditor(this.$el, $.proxy(this.$, this), 'edit-comment-body');
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user