From 919a63fb55911cae177c5a369a1626e2646c8f74 Mon Sep 17 00:00:00 2001
From: gauthier2018 <louis.gauthier@ensiie.fr>
Date: Sat, 7 Dec 2019 14:12:47 +0100
Subject: [PATCH] les push bugs

---
 public/bibliotheque.php | 1 +
 public/js/ajax.js       | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/public/bibliotheque.php b/public/bibliotheque.php
index 7eedb53..0cc52ff 100644
--- a/public/bibliotheque.php
+++ b/public/bibliotheque.php
@@ -46,6 +46,7 @@ urlHasArgument();
 <body onload="startviewer()">
 	<!-- génération des bannières -->
 	<?php
+	generateUserBanner();
 	generateNavBar('bibliotheque');
 	?>
 	<div id="CDClist" style="display: none">
diff --git a/public/js/ajax.js b/public/js/ajax.js
index e13bc61..02dc0e9 100644
--- a/public/js/ajax.js
+++ b/public/js/ajax.js
@@ -16,9 +16,11 @@ function ajaxRemoveCDC(userP, photoP) {
 
 
 function ajaxNewReview(userP, photoP, noteP) {
+	console.log("reviewAjout");
 	$.post("ReviewSubmitAction.php", {user: userP, photo: photoP, note: noteP, action: "new"})
 }
 
 function ajaxRemoveReview(userP, photoP) {
+	console.log("reviewRetrait");
 	$.post("ReviewSubmitAction.php", {user: userP, photo: photoP, action: "remove"})
 }
\ No newline at end of file
-- 
GitLab