Merge remote-tracking branch 'get_metadata/patch-1'
Fix #1210 Load multiple authors correct via get metadata
This commit is contained in:
commit
3b8c5ef21a
|
@ -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