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
Branches
Tags release-2020-05-26-15.05
No related merge requests found
......@@ -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.
......
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