fix the display of the special chars keypad (in JCloze and JQuiz)

This commit is contained in:
gbateson 2007-03-30 03:43:00 +00:00
parent ac61551570
commit 3ce4a4d12a

View File

@ -1015,11 +1015,9 @@ class hotpot_xml_quiz_template extends hotpot_xml_template_default {
usort($chars, "hotpot_sort_keypad_chars");
// create keypad buttons for each character
$str .= '<div class="Keypad">';
foreach ($chars as $char) {
$str .= "<button onclick=\"TypeChars('".$this->js_safe($char, true)."'); return false;\">$char</button>";
}
$str .= '</div>';
}
return $str;
}