Fix exercise multi-hotspot - refs BT#11764

pull/2487/head
Angel Fernando Quiroz Campos 9 years ago
parent 0db51d9c69
commit e65e49a769
  1. 4
      main/exercise/exercise_show.php

@ -444,13 +444,13 @@ foreach ($questionList as $questionId) {
echo "
<tr>
<td colspan=\"2\">
<div id=\"hotspot-solution\"></div>
<div id=\"hotspot-solution-$questionId-$id\"></div>
<script>
$(document).on('ready', function () {
new HotspotQuestion({
questionId: $questionId,
exerciseId: $id,
selector: '#hotspot-solution',
selector: '#hotspot-solution-$questionId-$id',
for: 'solution',
relPath: '$relPath'
});

Loading…
Cancel
Save