PROD-1531

This commit is contained in:
Ali-D-Akbar
2020-07-30 14:30:18 +05:00
parent ad396feafa
commit c788bb3bf8

View File

@@ -1,9 +1,9 @@
/*
Code for editing users and assigning roles within a course or library team context.
*/
define(['jquery', 'underscore', 'gettext', 'js/views/baseview',
'common/js/components/views/feedback_prompt', 'common/js/components/utils/view_utils'],
function($, _, gettext, BaseView, PromptView, ViewUtils) {
define(['jquery', 'underscore', 'gettext', 'js/views/baseview', 'common/js/components/views/feedback_prompt',
'common/js/components/utils/view_utils', 'edx-ui-toolkit/js/utils/html-utils'],
function($, _, gettext, BaseView, PromptView, ViewUtils, HtmlUtils) {
'use strict';
var default_messages = {
defaults: {
@@ -157,7 +157,7 @@ define(['jquery', 'underscore', 'gettext', 'js/views/baseview',
viewHelpers: viewHelpers
};
this.$userList.append(templateFn(template_data));
this.$userList.append(HtmlUtils.HTML(templateFn(template_data)).toString());
}
},