mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-05-19 02:51: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) {
|
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>"
|
||||||
}
|
}
|
||||||
|
@ -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';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user