mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-11 05:33:57 +00:00
Fix #1210
This commit is contained in:
parent
29f6463ed9
commit
29cb8bfec4
@ -48,7 +48,8 @@ $(function () {
|
|||||||
if ($.inArray(el, uniqueTags) === -1) uniqueTags.push(el);
|
if ($.inArray(el, uniqueTags) === -1) uniqueTags.push(el);
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#bookAuthor").val(book.authors);
|
var ampSeparatedAuthors = (book.authors || []).join(" & ");
|
||||||
|
$("#bookAuthor").val(ampSeparatedAuthors);
|
||||||
$("#book_title").val(book.title);
|
$("#book_title").val(book.title);
|
||||||
$("#tags").val(uniqueTags.join(","));
|
$("#tags").val(uniqueTags.join(","));
|
||||||
$("#rating").data("rating").setValue(Math.round(book.rating));
|
$("#rating").data("rating").setValue(Math.round(book.rating));
|
||||||
|
Loading…
Reference in New Issue
Block a user