Remove unnecessary debug logs

This commit is contained in:
Phillip Kühne 2023-10-06 16:19:07 +00:00
parent d8899267c3
commit d1b865f16f
Signed by: phillip
GPG Key ID: E4C1C4D2F90902AA
2 changed files with 0 additions and 5 deletions

View File

@ -35,8 +35,6 @@
}) })
function TableActionsFormatter(value, row, index) { function TableActionsFormatter(value, row, index) {
console.log("Value: " + value + ", Row: " + row + ", Index: " + index)
console.log(row)
if (getOwnedEntries().includes(row.entry_ID)) { if (getOwnedEntries().includes(row.entry_ID)) {
return "<button type='button' class='btn btn-danger' data-toggle='tooltip' data-placement='top' title='Eintrag zurückziehen' onclick=\"event.stopPropagation();$(this).tooltip('dispose');requestDeletionAsUser(" + row["entry_ID"] + ")\"><i class='fas fa-trash'></i></button>" return "<button type='button' class='btn btn-danger' data-toggle='tooltip' data-placement='top' title='Eintrag zurückziehen' onclick=\"event.stopPropagation();$(this).tooltip('dispose');requestDeletionAsUser(" + row["entry_ID"] + ")\"><i class='fas fa-trash'></i></button>"
} }

View File

@ -108,7 +108,6 @@
$("#selectedId").attr("value", id); $("#selectedId").attr("value", id);
$.getJSON("/api/songs/details/" + id, function (data) { $.getJSON("/api/songs/details/" + id, function (data) {
console.log(data);
$("#songTitle").html(data["title"]); $("#songTitle").html(data["title"]);
$("#songArtist").html(data["artist"]); $("#songArtist").html(data["artist"]);
$("#songYear").html(data["year"]); $("#songYear").html(data["year"]);
@ -191,7 +190,6 @@
var name = $("#singerNameInput").val(); var name = $("#singerNameInput").val();
var id = $("#selectedId").attr("value"); var id = $("#selectedId").attr("value");
enqueue(localStorage.getItem("clientId"), id, name, function (response) { enqueue(localStorage.getItem("clientId"), id, name, function (response) {
console.log(response);
entryID = response["entry_id"]; entryID = response["entry_id"];
toast = { toast = {
title: "Erfolgreich eingetragen", title: "Erfolgreich eingetragen",
@ -200,7 +198,6 @@
timeout: 5000 timeout: 5000
} }
Toast.create(toast); Toast.create(toast);
console.log("Entry ID: " + entryID);
addEntry(entryID); addEntry(entryID);
$("#enqueueModal").modal('hide'); $("#enqueueModal").modal('hide');
window.location.href = '/#end'; window.location.href = '/#end';