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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user