First half of #1996 (editing single books)
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user