Skip to content
Snippets Groups Projects
Commit 893a01f1 authored by Ali-D-Akbar's avatar Ali-D-Akbar
Browse files

PROD-1613

parent e65874c6
No related branches found
No related tags found
No related merge requests found
......@@ -129,8 +129,9 @@ from openedx.core.djangolib.js_utils import (
studentId = $('<input />', {
type: 'hidden',
name: 'student-id',
value: selectedStudent
value: edx.HtmlUtils.ensureHtml(selectedStudent)
});
// xss-lint: disable=javascript-jquery-append
form.append(action, studentId).submit();
}
});
......@@ -153,7 +154,7 @@ from openedx.core.djangolib.js_utils import (
$errorMessage.show();
return false;
} else if (hasCcxConnector) {
$errorMessage.html('${use_ccx_con_error_message | n, js_escaped_string}');
$errorMessage.text('${use_ccx_con_error_message | n, js_escaped_string}');
$errorMessage.show();
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment