diff --git a/backend/templates/base.html b/backend/templates/base.html index 067c3e8..df6d642 100644 --- a/backend/templates/base.html +++ b/backend/templates/base.html @@ -13,7 +13,7 @@ {% block title %}{% endblock %} - KaraoQueue - + - + @@ -101,15 +101,15 @@ - - + + src="https://unpkg.com/bootstrap-table@1.22.2/dist/extensions/auto-refresh/bootstrap-table-auto-refresh.min.js"> diff --git a/backend/templates/main.html b/backend/templates/main.html index 86fa26c..fef4295 100644 --- a/backend/templates/main.html +++ b/backend/templates/main.html @@ -4,7 +4,7 @@ Eintragen + data-ajax="dataRequestQueueAndDestroyTooltips" data-show-refresh="true" data-auto-refresh="true" data-auto-refresh-interval="10"> @@ -153,7 +153,7 @@ $.ajax({ type: 'POST', url: '/api/entries/delete', - data: JSON.stringify(ids), // or JSON.stringify ({name: 'jonas'}), + data: JSON.stringify(ids), error: function () { bootbox.alert({ message: "Fehler beim Löschen der Eintragungen.",