mirror of
https://github.com/janeczku/calibre-web
synced 2025-12-08 17:28:08 +00:00
Fix delete book format wasn't working
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user