From 12cf50b0a96ae2b63ad4c1fe12d1b8bd2a889ff5 Mon Sep 17 00:00:00 2001 From: Silvio Tomatis Date: Thu, 7 Nov 2019 00:28:35 +0100 Subject: [PATCH] Fix invocation of (edx.)HtmlUtils.ensureHtml Without this the following JS error occurs: Uncaught ReferenceError: HtmlUtils is not defined at toggleSubmitButton (login:658) --- lms/templates/login.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/templates/login.html b/lms/templates/login.html index 9719250177..2e889a8225 100644 --- a/lms/templates/login.html +++ b/lms/templates/login.html @@ -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.