diff --git a/Js/fonctions.js b/Js/fonctions.js index 73ec0650..b5def04f 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -43974,19 +43974,27 @@ function valider_mouvement_rh() { v_url = $("#racineWeb").val()+"Ajaxmouvementassurevalider/valider/"; - $.ajax({ - url: v_url, - type: 'POST', - success: function(data) { - // alert(data); - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Mouvementsrh/"); - } - }); + v_msg="Confirmez-vous cette validation ?"; + v_msgEng="Do you confirm this validation?"; + + if(confirm_ebene(v_msg, v_msgEng)) + { + $.ajax({ + url: v_url, + type: 'POST', + success: function(data) { + // alert(data); + // $('#div_test_gabarit').html(data); + }, + error: function(data) { + }, + complete: function() { + window.location.assign($("#racineWeb" ).val()+"Mouvementsrh/"); + } + }); + } + + } function activer_extranet_client(idClient, choix) diff --git a/Vue/gabarit.php b/Vue/gabarit.php index fb99cf16..cd9724cb 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -263,7 +263,7 @@ controlerPlafondBeneficiaire : - +