frontend: fix display of timeout message when validating a flag

This commit is contained in:
nemunaire 2019-01-20 00:17:52 +01:00
parent 7d9ad18f42
commit 65908f8880

View file

@ -524,6 +524,7 @@ angular.module("FICApp", ["ngRoute", "ngSanitize"])
$http.get("/my.json").then(function(response) {
var my = response.data;
if ($scope.my.exercices[$rootScope.current_exercice].tries != my.exercices[$rootScope.current_exercice].tries || $scope.my.exercices[$rootScope.current_exercice].solved_time != my.exercices[$rootScope.current_exercice].solved_time) {
$scope.my.exercices[$rootScope.current_exercice].submitted = false;
$rootScope.recvMy(my);
$rootScope.refreshTeams();
} else {