Permalink
Browse files

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

…ot cause Javascript errors
  • Loading branch information...
gbateson
gbateson committed Oct 8, 2007
1 parent dd85612 commit 5a1920568c2322fdf1bfcc9bc00800311756d975
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 5a19205

Please sign in to comment.