From a9a91d8e89b28494ae9935b1e302f0488b17144d Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Wed, 24 Nov 2021 13:32:08 +0100 Subject: [PATCH] Actual workaround for Chrome hanging issue --- edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edit.php b/edit.php index 1941143..857e770 100644 --- a/edit.php +++ b/edit.php @@ -81,7 +81,7 @@ if ($context->contextlevel == CONTEXT_SYSTEM) { if ($tid) { $mform = new \mod_htmlcert\edit_form($pageurl, array('tid' => $tid)); // Set the name for the form. - $mform->set_data(array('name' => $template->get_name(), 'html' => $template->get_html())); + $mform->set_data(array('name' => $template->get_name(), 'html' => '')); } else { $mform = new \mod_htmlcert\edit_form($pageurl); }