Permalink
Browse files

added escaping of quotes in TimesUp message, so that apostrophes do n…

…ot cause Javascript errors
  • Loading branch information...
1 parent 11db0ce commit 023dc2c3380d737946db1620fc087cf362e0221e gbateson committed Oct 8, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/hotpot/template/v6.php
@@ -654,7 +654,7 @@ function v6_expand_RemainingWords() {
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

0 comments on commit 023dc2c

Please sign in to comment.