frontend: fix display of timeout message when validating a flag
This commit is contained in:
parent
7d9ad18f42
commit
65908f8880
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Reference in a new issue