diff --git a/Js/fonctions.js b/Js/fonctions.js index ed806763..1846f67a 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -86375,15 +86375,15 @@ function changer_entite_portail() }, complete: function() { - src_logo=""; - afficherLogoSociete = $("#afficherLogoSociete").val(); + var src_logo=""; + var afficherLogoSociete = $("#afficherLogoSociete").val(); if(afficherLogoSociete=="1") { src_logo="Societes/"+codeSociete+"/Logos/logo_societe.png"; } - const wrapper = document.querySelector('.login-wrapper'); - wrapper.style.backgroundImage = `url('${src_logo}')`; + const image_logo = document.getElementById('image_logo'); + image_logo.setAttribute('src', src_logo); } }); } diff --git a/Vue/Ajaxconnexioncookie/index.php b/Vue/Ajaxconnexioncookie/index.php index e05a48d9..50334f0d 100755 --- a/Vue/Ajaxconnexioncookie/index.php +++ b/Vue/Ajaxconnexioncookie/index.php @@ -34,22 +34,17 @@ require('french.php'); } ?> + +
+ +
+