1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-23 18:17:24 +00:00

Fix delete book format wasn't working

This commit is contained in:
Ozzie Isaacs 2022-01-22 14:01:32 +01:00
parent 81b85445d8
commit bbef41290f

View File

@ -204,7 +204,7 @@ $("#delete_confirm").click(function(event) {
var bookFormat = $(this).data("delete-format");
var ajaxResponse = $(this).data("ajax");
if (bookFormat) {
window.location.href = getPath() + "/delete/" + deleteId + "/" + bookFormat;
postButton(event, getPath() + "/delete/" + deleteId + "/" + bookFormat);
} else {
if (ajaxResponse) {
path = getPath() + "/ajax/delete/" + deleteId;