From bb263f91a3c88b50df1e7a53b547dfc5ff10db38 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Thu, 29 Jan 2026 12:31:45 +0000 Subject: [PATCH] gera --- Js/fonctions.js | 399 +++++++++++++++++++++++++++++++++++++++--------- Vue/gabarit.php | 2 +- 2 files changed, 329 insertions(+), 72 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 2864938..a4e9cbb 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -113,13 +113,15 @@ function controleSession() { function showMessageDeconnexion() { - //const msg = "Votre session a expiré. Vous serez déconnecté."; - //const msgEng = "Your session has expired. You will be disconnected."; + const msg = "Votre session a expiré. Vous serez déconnecté."; + const msgEng = "Your session has expired. You will be disconnected."; - //alert_ebene(msg, msgEng).then(() => { + alert_ebene(msg, msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - window.location.assign($("#racineWeb" ).val()+"Connexion/deconnecter/"); - //}); + setInterval(() => { + window.location.assign($("#racineWeb" ).val()+"Connexion/deconnecter/"); + }, 20000); + }); } /** @@ -701,6 +703,8 @@ function imprimer_quittance_client(idQuittance) { // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } /* =================================================== @@ -786,6 +790,8 @@ function assurance_familiale() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } window.location.assign($("#racineWeb" ).val()+"Assuranceindividuelle/"); @@ -820,6 +826,8 @@ function creer_adherents() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } etat=$("#codeEtatPolice_C").val(); @@ -833,6 +841,8 @@ function creer_adherents() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } if (etat=="SU") @@ -844,6 +854,8 @@ function creer_adherents() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } if (etat=="AN") @@ -855,6 +867,8 @@ function creer_adherents() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } window.location.assign($("#racineWeb" ).val()+"Creeradherent/"); @@ -875,6 +889,8 @@ function prorater_prime_adherent() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } donnees = 'idCollege='+idCollege; @@ -1275,6 +1291,8 @@ function prorater_prime_adherent() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } donnees = 'idCollege='+idCollege; @@ -1310,6 +1328,7 @@ function changer_avenant_incorporation() return; }); + return; } @@ -1409,7 +1428,7 @@ function controler_piece_beneficiaire() return; }); - + return; } $('#numeroPiece').removeAttr('minlength'); @@ -1530,6 +1549,8 @@ function creer_avenant() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } if (etat=="AN") @@ -1541,6 +1562,8 @@ function creer_avenant() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } window.location.assign($("#racineWeb" ).val()+"Creeravenant/"); @@ -1560,6 +1583,8 @@ function enregistrer_avenant() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } var d_effet = new Date($("#dateEffetSql").val()); @@ -1586,6 +1611,8 @@ function enregistrer_avenant() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } motifavenant=$("#motifavenant").val(); @@ -1599,6 +1626,7 @@ function enregistrer_avenant() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } v_msg="Confirmez-vous cet avenant?"; @@ -1752,7 +1780,7 @@ function enregistrer_retrait() // Ce code ne s’exécute qu’après clic sur OK return; }); - + return; } v_msg="Confirmez-vous le retrait des personnes sélectionnées de cette police?"; @@ -1799,6 +1827,7 @@ function init_import_assures() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } nbAdh = $("#nbAdh_C").val(); @@ -1813,6 +1842,7 @@ function init_import_assures() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } window.location.assign($("#racineWeb" ).val()+"Importassure/"); @@ -1913,6 +1943,7 @@ function creer_beneficiaires() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } if (etat=="SU") @@ -1924,6 +1955,7 @@ function creer_beneficiaires() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } if (etat=="AN") @@ -1935,6 +1967,7 @@ function creer_beneficiaires() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } // etatadh=$("#codeEtatAdherent_C").val(); @@ -1948,6 +1981,7 @@ function creer_beneficiaires() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } window.location.assign($("#racineWeb" ).val()+"Creerbeneficiaire/"); @@ -1985,6 +2019,8 @@ function ebene_init_photo_face() // OK $('#message_face').html(""); return; }); + + return; } re_init_photo_face(); $("#btn_pop_save_face").click(); @@ -2019,6 +2055,7 @@ function ebene_enregistrer_photo_face() // OK // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } $("#div_wait_face_ebene").html('
' + '' + '
'); @@ -2087,6 +2124,7 @@ function ebene_init_confirm_photo_face() // OK $('#message_face').html(""); return; }); + return; } re_init_photo_face(); @@ -2121,6 +2159,8 @@ function ebene_confirmer_photo_face() // OK $('#message_face').html(""); return; }); + + return; } image_face = $("#image_face").val(); @@ -2134,6 +2174,7 @@ function ebene_confirmer_photo_face() // OK $('#message_face').html(""); return; }); + return; } $("#div_wait_face_ebene").html(` @@ -2200,9 +2241,11 @@ function ebene_supprimer_photo_face() // OK alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#motif").focus(); + return; }); + $("#motif").focus(); + return; } $("#del_face").val("1"); @@ -2217,6 +2260,7 @@ function ebene_supprimer_photo_face() // OK // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } image_face = $("#image_face").val(); @@ -2229,6 +2273,7 @@ function ebene_supprimer_photo_face() // OK // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } v_msg="Confirmez-vous cette suppression?"; @@ -2732,7 +2777,8 @@ function trouve_coordonnees_geo_ip(ip) // Ce code ne s’exécute qu’après clic sur OK return; }); - + + return; } }, complete: function() { @@ -2752,9 +2798,12 @@ function changer_avenant_incorporation_beneficiaire() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#idAvenant").focus(); + return; }); + + $("#idAvenant").focus(); + return; } donnees = 'idAvenant='+idAvenant; @@ -2808,9 +2857,11 @@ function prorater_prime_beneficiaire() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#idAvenant").focus(); return; }); + + $("#idAvenant").focus(); + return; } codeLienParente=$("#codeLienParente").val(); @@ -2822,9 +2873,12 @@ function prorater_prime_beneficiaire() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeLienParente").focus(); + return; }); + + $("#codeLienParente").focus(); + return; } dateEntree=$("#dateEntree").val(); @@ -2948,6 +3002,8 @@ function init_importer_modele_assure() { // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } // Si OK, on continue le workflow @@ -2981,6 +3037,7 @@ function importer_modele_assure(idAvenant) { // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } var div_export = $('#div_exporter_liste_assures'); @@ -3064,6 +3121,7 @@ function calculer_prime_inmportation() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } var div_attente = $('#div_liste_assure_importe'); @@ -3116,6 +3174,7 @@ function incorporer_assures_inmportes() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } nb_ligne_ass=$("#nb_ligne_ass").val(); @@ -3129,6 +3188,7 @@ function incorporer_assures_inmportes() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } v_msg="Avez-vous fait l\'étape 2 => calcul des primes?"; @@ -3157,6 +3217,8 @@ function incorporer_assures_inmportes() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK }); + + return; } v_msg="Confirmez-vous l\'incorporation de cette liste?"; @@ -3213,6 +3275,7 @@ function traiter_lignes_importees() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } etape3=$("#etape3").val(); @@ -3226,6 +3289,7 @@ function traiter_lignes_importees() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } afficher_liste_assures_a_importer(); @@ -3244,6 +3308,7 @@ function afficher_adherent_importee() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } donnees = 'idCollege='+idCollege; @@ -3306,6 +3371,7 @@ function ajouter_un_adherent_importe_college(idBeneficiairemodel) // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } donnees = 'idBeneficiairemodel='+idBeneficiairemodel+'&idCollege='+idCollege; @@ -3338,6 +3404,7 @@ function ajouter_tous_adherent_importe_college() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } donnees = 'idCollege='+idCollege; @@ -3376,6 +3443,7 @@ function ajouter_sans_college_adherent_importe_college() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } donnees = 'idCollege='+idCollege; @@ -3416,6 +3484,7 @@ function retirer_tous_adherent_importe_college() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } donnees = 'idCollege='+idCollege; @@ -3454,6 +3523,7 @@ function incorporer_assures_inmportes() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } nb_ligne_ass=$("#nb_ligne_ass").val(); @@ -3467,6 +3537,7 @@ function incorporer_assures_inmportes() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } v_msg="Avez-vous fait l\'étape 2 => calcul des primes?"; @@ -3504,6 +3575,7 @@ function incorporer_assures_inmportes() // Ce code ne s’exécute qu’après clic sur OK //return; }); + return; } v_msg="Confirmez-vous l\'incorporation de cette liste?"; @@ -3596,10 +3668,13 @@ function afficher_garantieadherent_entete_contrat() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#idEntetecontrat").focus(); + div_attente.html(''); return; }); + + $("#idEntetecontrat").focus(); + return; } // donnees = 'exercieReference='+exercieReference; @@ -3643,6 +3718,7 @@ function changer_etat_adherent() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } if (etat=="SU") @@ -3654,6 +3730,7 @@ function changer_etat_adherent() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } if (etat=="AN") @@ -3665,6 +3742,7 @@ function changer_etat_adherent() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } window.location.assign($("#racineWeb" ).val()+"Changeretatadherent/"); @@ -3946,9 +4024,12 @@ function imprimer_liste_assures_date() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#dateAnalyse").focus(); + return; }); + + $("#dateAnalyse").focus(); + return; } donnees = 'dateAnalyse='+dateAnalyse; @@ -4001,9 +4082,12 @@ function exporter_liste_assures_date() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#dateAnalyse").focus(); + return; }); + + $("#dateAnalyse").focus(); + return; } donnees = 'dateAnalyse='+dateAnalyse; @@ -4118,6 +4202,7 @@ function liste_mouvemements_assures_client() // Ce code ne s’exécute qu’après clic sur OK return; }); + return; } codeSensMouvement=$("#codeSensMouvement").val(); @@ -4183,10 +4268,13 @@ function consulter_facture_pop(idFacture) alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#idFacture").val("0"); - $("#idFacture").focus(); + return; }); + + $("#idFacture").val("0"); + $("#idFacture").focus(); + return; } $.ajax({ @@ -4228,10 +4316,13 @@ function consulterfacturefeuillemaladie_pop() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#idFacture").val("0"); - $("#idFacture").focus(); + return; }); + + $("#idFacture").val("0"); + $("#idFacture").focus(); + return; } $.ajax({ @@ -4271,10 +4362,13 @@ function consulterfactureprestationactes_pop() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#idFacture").val("0"); - $("#idFacture").focus(); + return; }); + + $("#idFacture").val("0"); + $("#idFacture").focus(); + return; } $.ajax({ @@ -4315,10 +4409,13 @@ function consulterfacturemedicaments_pop() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#idFacture").val("0"); - $("#idFacture").focus(); + return; }); + + $("#idFacture").val("0"); + $("#idFacture").focus(); + return; } $.ajax({ @@ -4359,10 +4456,13 @@ function consulterfactureverres_pop() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#idFacture").val("0"); - $("#idFacture").focus(); + return; }); + + $("#idFacture").val("0"); + $("#idFacture").focus(); + return; } $.ajax({ @@ -4403,10 +4503,13 @@ function consulterfactureged_pop() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#idFacture").val("0"); - $("#idFacture").focus(); + return; }); + + $("#idFacture").val("0"); + $("#idFacture").focus(); + return; } $.ajax({ @@ -4561,9 +4664,13 @@ function enregistrer_modif_user_rh() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#nom").focus(); + return; }); + + + $("#nom").focus(); + return; } if (actif<=" ") @@ -4573,9 +4680,12 @@ function enregistrer_modif_user_rh() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#actif").focus(); + return; }); + + $("#actif").focus(); + return; } if(codeLangue<=" ") @@ -4585,9 +4695,12 @@ function enregistrer_modif_user_rh() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeLangueUser").focus(); + return; }); + + $("#codeLangueUser").focus(); + return; } @@ -4598,9 +4711,12 @@ function enregistrer_modif_user_rh() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeProfil").focus(); + return; }); + + $("#codeProfil").focus(); + return; } @@ -4611,9 +4727,12 @@ function enregistrer_modif_user_rh() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#email").focus(); + return; }); + + $("#email").focus(); + return; } donnees = 'idUtilisateur=' + idUtilisateur; @@ -4684,9 +4803,12 @@ function creer_user_rh_client() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#nom").focus(); + return; }); + + $("#nom").focus(); + return; } @@ -4697,9 +4819,12 @@ function creer_user_rh_client() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeUtilisateur").focus(); + return; }); + + $("#codeUtilisateur").focus(); + return; } @@ -4710,9 +4835,12 @@ function creer_user_rh_client() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeLangueUser").focus(); + return; }); + + $("#codeLangueUser").focus(); + return; } if (codeProfil<=" ") @@ -4722,9 +4850,12 @@ function creer_user_rh_client() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeProfil").focus(); + return; }); + + $("#codeProfil").focus(); + return; } @@ -4735,9 +4866,12 @@ function creer_user_rh_client() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#telephone").focus(); + return; }); + + $("#telephone").focus(); + return; } if ((codeModeEnvoiPass=="0" || codeModeEnvoiPass=="2") && (email <=" ") ) @@ -4747,9 +4881,12 @@ function creer_user_rh_client() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#email").focus(); + return; }); + + $("#email").focus(); + return; } if(codeModeGenerationPass=="0") @@ -4761,9 +4898,12 @@ function creer_user_rh_client() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#nvmdp").focus(); + return; }); + + $("#nvmdp").focus(); + return; } if(nvmdp != cfnvmdp) @@ -4773,9 +4913,12 @@ function creer_user_rh_client() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#cfnvmdp").focus(); + return; }); + + $("#cfnvmdp").focus(); + return; } } @@ -4786,9 +4929,12 @@ function creer_user_rh_client() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#email").focus(); + return; }); + + $("#email").focus(); + return; } motPass = nvmdp; @@ -4836,9 +4982,12 @@ function creer_user_rh_client() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeUtilisateur").focus(); + return; }); + + $("#codeUtilisateur").focus(); + return; } } }); @@ -5057,9 +5206,12 @@ function controle_new_pass() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#nvmdp").focus(); + return false; }); + + $("#nvmdp").focus(); + return; } longueur = $("#nvmdp").val().length; @@ -5071,9 +5223,12 @@ function controle_new_pass() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#nvmdp").focus(); + return false; }); + + $("#nvmdp").focus(); + return; } if ($("#cfnvmdp" ).val()!=$("#nvmdp" ).val()) @@ -5108,9 +5263,12 @@ function afficher_menu_principal_profil_rh() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeProfil").focus(); + return; }); + + $("#codeProfil").focus(); + return; } donnees = 'codeProfil='+codeProfil; @@ -5153,9 +5311,12 @@ function ajouter_tous_menus_principal_profil_rh() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeProfil").focus(); + return; }); + + $("#codeProfil").focus(); + return; } donnees = 'codeProfil='+codeProfil; @@ -5185,9 +5346,12 @@ function ajouter_un_menu_principal_profil_rh(codeMenu) alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeProfil").focus(); + return; }); + + $("#codeProfil").focus(); + return; } donnees = 'codeProfil='+codeProfil+'&codeMenu='+codeMenu; @@ -5217,9 +5381,12 @@ function retirer_tous_menus_principal_profil_rh() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeProfil").focus(); + return; }); + + $("#codeProfil").focus(); + return; } donnees = 'codeProfil='+codeProfil; @@ -5249,9 +5416,12 @@ function retirer_un_menu_principal_profil_rh(codeMenu) alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeProfil").focus(); + return; }); + + $("#codeProfil").focus(); + return; } donnees = 'codeProfil='+codeProfil+'&codeMenu='+codeMenu; @@ -5317,9 +5487,12 @@ function ajax_menus_profil() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeProfil").focus(); + return; }); + + $("#codeProfil").focus(); + return; } donnees = 'codeProfil='+codeProfil; @@ -5350,9 +5523,12 @@ function afficher_menu_vue_profil() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeProfil").focus(); + return; }); + + $("#codeProfil").focus(); + return; } codeVue = $("#codeVue").val(); @@ -5364,10 +5540,13 @@ function afficher_menu_vue_profil() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeVue").focus(); + $('#div_menu_profil').html(data); return; }); + + $("#codeVue").focus(); + return; } donnees = 'codeProfil='+codeProfil; @@ -5412,9 +5591,12 @@ function ajouter_tous_menu_vue_profil() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeProfil").focus(); + return; }); + + $("#codeProfil").focus(); + return; } codeVue=$("#codeVue").val(); @@ -5426,9 +5608,12 @@ function ajouter_tous_menu_vue_profil() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeVue").focus(); + return; }); + + $("#codeVue").focus(); + return; } donnees = 'codeProfil='+codeProfil; @@ -5459,9 +5644,12 @@ function ajouter_un_menu_vue_profil(codeMenu) alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeProfil").focus(); + return; }); + + $("#codeProfil").focus(); + return; } codeVue=$("#codeVue").val(); @@ -5473,9 +5661,12 @@ function ajouter_un_menu_vue_profil(codeMenu) alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeVue").focus(); + return; }); + + $("#codeVue").focus(); + return; } donnees = 'codeProfil='+codeProfil; @@ -5507,9 +5698,12 @@ function retirer_tous_menu_vue_profil() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeProfil").focus(); + return; }); + + $("#codeProfil").focus(); + return; } codeVue=$("#codeVue").val(); @@ -5521,9 +5715,12 @@ function retirer_tous_menu_vue_profil() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeVue").focus(); + return; }); + + $("#codeVue").focus(); + return; } donnees = 'codeProfil='+codeProfil; @@ -5556,9 +5753,12 @@ function retirer_un_menu_vue_profil(codeMenu) alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeProfil").focus(); + return; }); + + $("#codeProfil").focus(); + return; } codeVue=$("#codeVue").val(); @@ -5570,9 +5770,12 @@ function retirer_un_menu_vue_profil(codeMenu) alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeVue").focus(); + return; }); + + $("#codeVue").focus(); + return; } donnees = 'codeProfil='+codeProfil; @@ -5833,6 +6036,8 @@ function lister_dossiers_classiques_export() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } donnees = 'd1='+d1+'&d2='+d2+'&filtre='+filtre; @@ -6016,9 +6221,12 @@ function enregistrer_validation_rd(idDemande){ alert_ebene(msg, msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeStatutPaiementAjax").focus(); + return; }); + + $("#codeStatutPaiementAjax").focus(); + return; } @@ -6028,10 +6236,12 @@ function enregistrer_validation_rd(idDemande){ alert_ebene(msg, msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#motifRejetRh").focus(); + return; }); - + + $("#motifRejetRh").focus(); + return; } donnees = 'idDemande='+idDemande; @@ -6071,6 +6281,8 @@ function remplacer_adherent() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } if ($("#idAdherent_C" ).val()<= " ") @@ -6082,6 +6294,8 @@ function remplacer_adherent() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } if (adherentRetire == "1") @@ -6108,6 +6322,8 @@ function remplacer_adherent() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } remplace=$("#remplace").val(); @@ -6183,6 +6399,8 @@ function fiche_remplacer_adherent() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } if (etat=="SU") @@ -6194,6 +6412,8 @@ function fiche_remplacer_adherent() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } if (etat=="AN") @@ -6205,6 +6425,8 @@ function fiche_remplacer_adherent() // Ce code ne s’exécute qu’après clic sur OK return; }); + + return; } window.location.assign($("#racineWeb" ).val()+"Remplaceradherent/"); @@ -6241,6 +6463,9 @@ function init_remplacement_adherent() // Ce code ne s’exécute qu’après clic sur OK return false; }); + + return false; + } if (dt1>dt2 || dt1 { // Ce code ne s’exécute qu’après clic sur OK - $("#prenoms").focus(); + return; }); + + $("#prenoms").focus(); + return; } codeNaturePiece = $("#codeNaturePiece").val(); @@ -6344,9 +6580,12 @@ function enregistrer_remplacement_adherent() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeNaturePiece").focus(); + return; }); + + $("#codeNaturePiece").focus(); + return; } numeroPiece = $("#numeroPiece").val(); @@ -6357,9 +6596,12 @@ function enregistrer_remplacement_adherent() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#numeroPiece").focus(); + return; }); + + $("#numeroPiece").focus(); + return; } sexe = $("#sexe").val(); @@ -6370,9 +6612,12 @@ function enregistrer_remplacement_adherent() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#sexe").focus(); + return; }); + + $("#sexe").focus(); + return; } dateNaissance = $("#dateNaissance").val(); @@ -6383,9 +6628,12 @@ function enregistrer_remplacement_adherent() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#dateNaissance").focus(); + return; }); + + $("#dateNaissance").focus(); + return; } codeGroupeSanguin = $("#codeGroupeSanguin").val(); @@ -6396,9 +6644,12 @@ function enregistrer_remplacement_adherent() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeGroupeSanguin").focus(); + return; }); + + $("#codeGroupeSanguin").focus(); + return; } codeSituationFamille = $("#codeSituationFamille").val(); @@ -6409,9 +6660,12 @@ function enregistrer_remplacement_adherent() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codeSituationFamille").focus(); + return; }); + + $("#codeSituationFamille").focus(); + return; } nombreEnfants = $("#nombreEnfants").val(); @@ -6426,9 +6680,12 @@ function enregistrer_remplacement_adherent() alert_ebene(v_msg, v_msgEng).then(() => { // Ce code ne s’exécute qu’après clic sur OK - $("#codePays").focus(); + return; }); + + $("#codePays").focus(); + return; } telephonFixe = $("#telephonFixe").val(); diff --git a/Vue/gabarit.php b/Vue/gabarit.php index f5a3eba..55702ee 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -663,7 +663,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte']; - +