mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-05-18 18:41:48 +02:00
Remove unnecessary debug logs
This commit is contained in:
parent
d8899267c3
commit
d1b865f16f
@ -35,8 +35,6 @@
|
||||
})
|
||||
|
||||
function TableActionsFormatter(value, row, index) {
|
||||
console.log("Value: " + value + ", Row: " + row + ", Index: " + index)
|
||||
console.log(row)
|
||||
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>"
|
||||
}
|
||||
|
@ -108,7 +108,6 @@
|
||||
|
||||
$("#selectedId").attr("value", id);
|
||||
$.getJSON("/api/songs/details/" + id, function (data) {
|
||||
console.log(data);
|
||||
$("#songTitle").html(data["title"]);
|
||||
$("#songArtist").html(data["artist"]);
|
||||
$("#songYear").html(data["year"]);
|
||||
@ -191,7 +190,6 @@
|
||||
var name = $("#singerNameInput").val();
|
||||
var id = $("#selectedId").attr("value");
|
||||
enqueue(localStorage.getItem("clientId"), id, name, function (response) {
|
||||
console.log(response);
|
||||
entryID = response["entry_id"];
|
||||
toast = {
|
||||
title: "Erfolgreich eingetragen",
|
||||
@ -200,7 +198,6 @@
|
||||
timeout: 5000
|
||||
}
|
||||
Toast.create(toast);
|
||||
console.log("Entry ID: " + entryID);
|
||||
addEntry(entryID);
|
||||
$("#enqueueModal").modal('hide');
|
||||
window.location.href = '/#end';
|
||||
|
Loading…
x
Reference in New Issue
Block a user