diff --git a/Js/fonctions.js b/Js/fonctions.js index 8271c7e..8d98a9a 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -4547,21 +4547,15 @@ function lister_polices_client(id) { if(vue != null){ $.ajax({ - url: racine + "Ajaxsessionvue/", - type: 'POST', - data: { vue: vue }, - success: function (data) { - - - }, - error: function (xhr, status, error) { - - }, - complete: function() - { - window.location.assign($("#racineWeb" ).val()+"Choisirpolice/"); + url: $("#racineWeb").val()+"Ajaxsessionvue/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + complete: function() { + window.location.assign($("#racineWeb" ).val()+"Choisirpolice/"); } - }); + }); } //const modalEl = document.getElementById('pop_police'); diff --git a/Vue/gabarit.php b/Vue/gabarit.php index d6f90d8..f8a7892 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -687,7 +687,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte']; - +