Fix message when answering a question of type hotspot - refs #7705

1.10.x
Angel Fernando Quiroz Campos 9 years ago
parent 69b6a0c6c3
commit fdc4f180b2
  1. 2
      main/exercice/hotspot_actionscript.as.php
  2. 2
      main/exercice/hotspot_answers.as.php
  3. 3
      main/plugin/hotspot2/js/hotspot_user.js

@ -48,7 +48,7 @@ $data['lang'] = [
'HotspotShowUserPoints' => get_lang('HotspotShowUserPoints'),
'ShowHotspots' => get_lang('ShowHotspots'),
'Triesleft' => get_lang('Triesleft'),
'ExerciseFinished' => get_lang('ExerciseFinished'),
'HotspotExerciseFinished' => get_lang('HotspotExerciseFinished'),
'NextAnswer' => get_lang('NextAnswer'),
'Delineation' => get_lang('Delineation'),
'CloseDelineation' => get_lang('CloseDelineation'),

@ -48,7 +48,7 @@ $data['lang'] = [
'HotspotShowUserPoints' => get_lang('HotspotShowUserPoints'),
'ShowHotspots' => get_lang('ShowHotspots'),
'Triesleft' => get_lang('Triesleft'),
'ExerciseFinished' => get_lang('ExerciseFinished'),
'HotspotExerciseFinished' => get_lang('HotspotExerciseFinished'),
'NextAnswer' => get_lang('NextAnswer'),
'Delineation' => get_lang('Delineation'),
'CloseDelineation' => get_lang('CloseDelineation'),

@ -126,7 +126,8 @@ var HotSpotUser = (function () {
self.addAnswer(answer);
if (answers.length === hotSpots.length) {
self.messagesEl.textContent = lang.ExeFinished;
console.log(lang);
self.messagesEl.textContent = lang.HotspotExerciseFinished;
return;
}

Loading…
Cancel
Save