Fixed issue when restarting the lesson the menu was not updated (the marker stayed behind)

Also restarting the lesson was not persisted
This commit is contained in:
Nanne Baars 2017-05-03 05:08:00 +02:00
parent 5508a08e20
commit 194a327ad5
2 changed files with 2 additions and 0 deletions

View File

@ -61,5 +61,6 @@ public class RestartLessonService {
UserTracker userTracker = userTrackerRepository.findOne(webSession.getUserName()); UserTracker userTracker = userTrackerRepository.findOne(webSession.getUserName());
userTracker.reset(al); userTracker.reset(al);
userTrackerRepository.save(userTracker);
} }
} }

View File

@ -191,6 +191,7 @@ define(['jquery',
method:'GET' method:'GET'
}).done(function(lessonLink) { }).done(function(lessonLink) {
self.loadLesson(self.name); self.loadLesson(self.name);
self.updateMenu();
}); });
}; };