diff --git a/Js/fonctions.js b/Js/fonctions.js
index ac3a8b9..8431c74 100644
--- a/Js/fonctions.js
+++ b/Js/fonctions.js
@@ -45887,49 +45887,47 @@ function creer_user_rh_client()
v_msg="Confirmez-vous ce nouvel utilisateur?";
v_msgEng="Do you confirm this new user?";
- confirm_ebene(v_msg, v_msgEng)
- .then((isConfirmed) => {
- if (isConfirmed) {
- $.ajax({
- url: $("#racineWeb").val()+"Ajaxuserrhclient/creeruser/",
- type : 'post',
- data: donnees,
- error: function(errorData) {
- },
- success: function(data) {
- $('#div_unicite_login').html(data);
- },
- complete: function()
+ if(confirm_ebene(v_msg, v_msgEng))
+ {
+ $.ajax({
+ url: $("#racineWeb").val()+"Ajaxuserrhclient/creeruser/",
+ type : 'post',
+ data: donnees,
+ error: function(errorData) {
+ },
+ success: function(data) {
+ $('#div_unicite_login').html(data);
+ },
+ complete: function()
+ {
+ uniciteLogin = $("#uniciteLogin").val();
+ if(uniciteLogin==1)
{
- uniciteLogin = $("#uniciteLogin").val();
- if(uniciteLogin==1)
- {
- v_msg="Utilisateur ( "+codeUtilisateur+" ) créé avec succès!";
- v_msgEng="User ( "+codeUtilisateur+" ) created succssfully!";
+ v_msg="Utilisateur ( "+codeUtilisateur+" ) créé avec succès!";
+ v_msgEng="User ( "+codeUtilisateur+" ) created succssfully!";
- alert_ebene(v_msg, v_msgEng).then(() => {
- // Ce code ne s’exécute qu’après clic sur OK
- retour_a_users_rh_client();
- });
- }
- else
- {
- v_msg="Login " + codeUtilisateur +" déjà utilisé!";
- v_msgEng="Login " + codeUtilisateur +" already in use!";
-
- alert_ebene(v_msg, v_msgEng).then(() => {
- // Ce code ne s’exécute qu’après clic sur OK
-
- return;
- });
-
- $("#codeUtilisateur").focus();
- return;
- }
+ alert_ebene(v_msg, v_msgEng).then(() => {
+ // Ce code ne s’exécute qu’après clic sur OK
+ retour_a_users_rh_client();
+ });
}
- });
- }
- });
+ else
+ {
+ v_msg="Login " + codeUtilisateur +" déjà utilisé!";
+ v_msgEng="Login " + codeUtilisateur +" already in use!";
+
+ alert_ebene(v_msg, v_msgEng).then(() => {
+ // Ce code ne s’exécute qu’après clic sur OK
+
+ return;
+ });
+
+ $("#codeUtilisateur").focus();
+ return;
+ }
+ }
+ });
+ }
}
function verifMailValeur(v_mail)
diff --git a/Vue/gabarit.php b/Vue/gabarit.php
index 7395d43..81d2246 100644
--- a/Vue/gabarit.php
+++ b/Vue/gabarit.php
@@ -261,7 +261,7 @@ controlerPlafondBeneficiaire : = $_SESSION['controlerPlafondBeneficiaire'] ?>
-
+