Actual workaround for Chrome hanging issue
This commit is contained in:
parent
0a4186a981
commit
a9a91d8e89
1 changed files with 1 additions and 1 deletions
2
edit.php
2
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue