mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Content server: Book details page: Fix close button not going back to book list after using Next/previous buttons. Fixes #1819060 [Clicking X (close) in the book details on the server should get you back to the covers view (library)](https://bugs.launchpad.net/calibre/+bug/1819060)
This commit is contained in:
parent
7d9f51cd9e
commit
94fc460f8c
@ -472,7 +472,7 @@ def render_book(container_id, book_id):
|
|||||||
if next_book_id:
|
if next_book_id:
|
||||||
q = parse_url_params()
|
q = parse_url_params()
|
||||||
q.book_id = next_book_id + ''
|
q.book_id = next_book_id + ''
|
||||||
show_panel('book_details', query=q)
|
show_panel('book_details', query=q, replace=True)
|
||||||
|
|
||||||
md.appendChild(E.div(
|
md.appendChild(E.div(
|
||||||
style='margin-top: 1.5ex',
|
style='margin-top: 1.5ex',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user