Workaround for Chrome hanging issue
This commit is contained in:
parent
7b03eceec9
commit
0a4186a981
2 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ class template {
|
|||
$savedata = new \stdClass();
|
||||
$savedata->id = $this->id;
|
||||
$savedata->name = $data->name;
|
||||
$savedata->html = $data->html;
|
||||
$savedata->html = $data->html || $this->html;
|
||||
$savedata->timemodified = time();
|
||||
|
||||
$DB->update_record('htmlcert_templates', $savedata);
|
||||
|
|
|
@ -108,7 +108,7 @@ $string['gethtmlcert'] = 'View certificate';
|
|||
$string['gradeoutcome'] = 'Outcome';
|
||||
$string['height'] = 'Height';
|
||||
$string['height_help'] = 'This is the height of the certificate PDF in mm. For reference an A4 piece of paper is 297mm high and a letter is 279mm high.';
|
||||
$string['html'] = 'HTML';
|
||||
$string['html'] = 'Replace HTML';
|
||||
$string['invalidcode'] = 'Invalid code supplied.';
|
||||
$string['invalidcolour'] = 'Invalid colour chosen, please enter a valid HTML colour name, or a six-digit, or three-digit hexadecimal colour.';
|
||||
$string['invalidelementwidth'] = 'Please enter a positive number.';
|
||||
|
|
Loading…
Reference in a new issue