From e0a7ee8334bd992ee9ad14892a8e9ef1d5e157f4 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sun, 29 Mar 2026 08:51:24 +0000 Subject: [PATCH] a --- Js/fonctions.js | 12 ++++++++++-- Vue/gabarit.php | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index a1bb946a..b4bce29b 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -17126,12 +17126,20 @@ function enregistrer_modif_parametresgeneraux() url: $("#racineWeb").val()+"Ajaxparametresgeneraux/enregistrermodif/", type : 'post', data: donnees, - error: function(errorData) { + error: function(errorData) { + console.log("error => "+errorData); + $('#div_test_gabarit').html(errorData); + alert("error => "+errorData); + return; }, success: function(data) { + console.log("success => "+data); + $('#div_test_gabarit').html(data); + alert("success => "+data); + return; }, complete: function() { - afficher_parametresgeneraux(); + // afficher_parametresgeneraux(); } }); } diff --git a/Vue/gabarit.php b/Vue/gabarit.php index e34ac663..ee37ee2f 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -976,7 +976,7 @@ - +