Fix invocation of (edx.)HtmlUtils.ensureHtml
Without this the following JS error occurs:
Uncaught ReferenceError: HtmlUtils is not defined
at toggleSubmitButton (login:658)
This commit is contained in:
@@ -116,7 +116,7 @@ from openedx.core.djangolib.js_utils import js_escaped_string, dump_js_escaped_j
|
||||
removeClass('is-disabled').
|
||||
attr('aria-disabled', false).
|
||||
prop('disabled', false).
|
||||
html(HtmlUtils.ensureHtml(content).toString());
|
||||
html(edx.HtmlUtils.ensureHtml(content).toString());
|
||||
}
|
||||
else {
|
||||
$submitButton.
|
||||
|
||||
Reference in New Issue
Block a user