added escaping of quotes in TimesUp message, so that apostrophes do not cause Javascript errors

This commit is contained in:
gbateson
2007-10-08 06:39:23 +00:00
parent 0227d32dff
commit a3a940c7fb
+1 -1
View File
@@ -652,7 +652,7 @@ class hotpot_xml_quiz_template extends hotpot_xml_template_default {
return $this->parent->xml_value('hotpot-config-file,'.$this->parent->quiztype.',remaining-words');
}
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