Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
test redirect rubrique
Browse files Browse the repository at this point in the history
  • Loading branch information
elouanjef committed Jan 25, 2024
1 parent 3f554d6 commit 72c9fd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/professor.html
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ <h5 class="modal-title" id="editUserModalLabel">Modifier le mot de passe</h5>
console.log(response);
alert('Utilisateur supprimé avec succès!');
location.reload();
$('#rubrique2-link').tab('show');
},
error: function (error) {
console.error(error);
Expand Down Expand Up @@ -319,6 +320,7 @@ <h5 class="modal-title" id="editUserModalLabel">Modifier le mot de passe</h5>
console.log(response);
alert('Utilisateur créé avec succès! Mot de passe: ' + response.password);
location.reload();
$('#rubrique2-link').tab('show');
},
error: function (error) {
console.error(error);
Expand Down

0 comments on commit 72c9fd3

Please sign in to comment.