This commit is contained in:
asyncnomi 2023-01-08 23:24:53 +01:00
parent df92dd65ba
commit f3b715da48

View file

@ -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() {
<div class="prank-note">Notes: ${pd[pd_uid].note}</div>
<div class="prank-status">Statue: ${pd[pd_uid].state}</div>
<span class="prank-footer">
<div class="prank-uid">UID: ${pd_uid}</div>
<div class="prank-uid">UID: ${pd[pd_uid].prankUid}</div>
<div class="prank-date">DATE: ${pd[pd_uid].date}</div>
</span>
${ (pd[pd_uid].state != "Accepted" && pd[pd_uid].state != "Refused" ) ?