Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…ot cause Javascript errors
  • Loading branch information...
commit 023dc2c3380d737946db1620fc087cf362e0221e 1 parent 11db0ce
gbateson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/hotpot/template/v6.php
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.