mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
added escaping of quotes in TimesUp message, so that apostrophes do not cause Javascript errors
This commit is contained in:
parent
69d0f96a53
commit
68a5a1244d
1 changed files with 1 additions and 1 deletions
|
@ -654,7 +654,7 @@ class hotpot_xml_quiz_template extends hotpot_xml_template_default {
|
||||||
return $this->parent->xml_value('hotpot-config-file,'.$this->parent->quiztype.',remaining-words');
|
return $this->parent->xml_value('hotpot-config-file,'.$this->parent->quiztype.',remaining-words');
|
||||||
}
|
}
|
||||||
function v6_expand_TimesUp() {
|
function v6_expand_TimesUp() {
|
||||||
return $this->parent->xml_value('hotpot-config-file,global,times-up');
|
return $this->js_safe($this->parent->xml_value('hotpot-config-file,global,times-up'));
|
||||||
}
|
}
|
||||||
|
|
||||||
// nav bar
|
// nav bar
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue