diff --git a/Js/fonctions.js b/Js/fonctions.js index c9df5f5..f455080 100644 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -45857,9 +45857,6 @@ function creer_user_rh_client() donnees += '&codeModeEnvoiPass='+codeModeEnvoiPass; donnees += '&codeProfil=' + codeProfil; - alert(donnees); - return; - v_msg="Confirmez-vous ce nouvel utilisateur?"; v_msgEng="Do you confirm this new user?"; @@ -45872,11 +45869,14 @@ function creer_user_rh_client() error: function(errorData) { }, success: function(data) { + $('#div_test_gabarit').html(data); $('#div_unicite_login').html(data); }, complete: function() { uniciteLogin = $("#uniciteLogin").val(); + alert("uniciteLogin => "+uniciteLogin); + /* if(uniciteLogin==1) { v_msg="Utilisateur ( "+codeUtilisateur+" ) créé avec succès!"; @@ -45896,6 +45896,7 @@ function creer_user_rh_client() $("#codeUtilisateur").focus(); return; } + */ } }); } diff --git a/Vue/Ajaxuserrhclient/creeruser.php b/Vue/Ajaxuserrhclient/creeruser.php index bd3da61..3bac244 100644 --- a/Vue/Ajaxuserrhclient/creeruser.php +++ b/Vue/Ajaxuserrhclient/creeruser.php @@ -1,3 +1,11 @@ +$msgErreur + $msgErreur, + ) +); +?>