diff --git a/static/js/main.js b/static/js/main.js index e60e2d4..1e8ba42 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -566,7 +566,6 @@ function refreshListener() { }) $(".prank-btn-delete").click((e) => { let uid = e.target.parentNode.parentNode.id; - console.log(e); $.ajax({ type: 'POST', url: base_url + 'delPrank', @@ -660,7 +659,7 @@ function updateDemandes() {
Notes: ${pd[pd_uid].note}
Statue: ${pd[pd_uid].state}
-
UID: ${pd_uid}
+
UID: ${pd[pd_uid].prankUid}
DATE: ${pd[pd_uid].date}
${ (pd[pd_uid].state != "Accepted" && pd[pd_uid].state != "Refused" ) ?