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:53:55 +00:00
parent ee6650f5d8
commit 4ad4e498d7
+1 -1
View File
@@ -1536,7 +1536,7 @@ class hotpot_xml_quiz extends hotpot_xml_tree {
return $this->xml_value("hotpot-config-file,$this->quiztype,remaining-words");
}
function v6_expand_TimesUp() {
return $this->xml_value('hotpot-config-file,global,times-up');
return $this->js_safe($this->xml_value('hotpot-config-file,global,times-up'));
}
// nav bar