1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-29 22:33:01 +00:00

With merge button disabled it's no longer possible to open merge dialog

This commit is contained in:
Ozzie Isaacs
2021-08-01 20:23:04 +02:00
parent b36422bc05
commit 1534827ad7
2 changed files with 7 additions and 2 deletions

View File

@@ -74,7 +74,12 @@ $(function() {
});
});
$("#merge_books").click(function() {
$("#merge_books").click(function(event) {
if ($(this).hasClass("disabled")) {
event.stopPropagation()
} else {
$('#mergeModal').modal("show");
}
$.ajax({
method:"post",
contentType: "application/json; charset=utf-8",