Actual workaround for Chrome hanging issue

This commit is contained in:
Kumi 2021-11-24 13:32:08 +01:00
parent 0a4186a981
commit a9a91d8e89

View file

@ -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);
}