Skip to content
Snippets Groups Projects
Commit 12cf50b0 authored by Silvio Tomatis's avatar Silvio Tomatis
Browse files

Fix invocation of (edx.)HtmlUtils.ensureHtml

Without this the following JS error occurs:

    Uncaught ReferenceError: HtmlUtils is not defined
        at toggleSubmitButton (login:658)
parent d6099e08
No related merge requests found
...@@ -116,7 +116,7 @@ from openedx.core.djangolib.js_utils import js_escaped_string, dump_js_escaped_j ...@@ -116,7 +116,7 @@ from openedx.core.djangolib.js_utils import js_escaped_string, dump_js_escaped_j
removeClass('is-disabled'). removeClass('is-disabled').
attr('aria-disabled', false). attr('aria-disabled', false).
prop('disabled', false). prop('disabled', false).
html(HtmlUtils.ensureHtml(content).toString()); html(edx.HtmlUtils.ensureHtml(content).toString());
} }
else { else {
$submitButton. $submitButton.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment