Skip to content
Browse files

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

…ot cause Javascript errors
  • Loading branch information...
1 parent 0227d32 commit a3a940c7fb56525c10af00e00ac79874ea1fdfeb gbateson committed Oct 8, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/hotpot/template/v6.php
View
2 mod/hotpot/template/v6.php
@@ -652,7 +652,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 a3a940c

Please sign in to comment.
Something went wrong with that request. Please try again.