1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-30 23:03:02 +00:00

First half of #1996 (editing single books)

This commit is contained in:
Ozzie Isaacs
2021-05-26 19:57:58 +02:00
parent 240325dc18
commit 94b07d05c1
2 changed files with 10 additions and 0 deletions

View File

@@ -263,3 +263,9 @@ $("#btn-upload-cover").on("change", function () {
$("#upload-cover").html(filename);
});
$("#xchange").click(function () {
this.blur();
var title = $("#book_title").val();
$("#book_title").val($("#bookAuthor").val());
$("#bookAuthor").val(title);
});