mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1930965 [[Enhancement - Server] Clicking Esc to go back to the book details page doesn't work after clicking on some metadata field in the Edit metadata page and going back to the Edit metadata page](https://bugs.launchpad.net/calibre/+bug/1930965)
This commit is contained in:
parent
cf2c096db0
commit
9d4e5c500f
@ -1001,6 +1001,7 @@ def on_close(container_id):
|
||||
clear(d), clear(d.previousSibling)
|
||||
q = parse_url_params()
|
||||
show_book(container_id, int(q.book_id))
|
||||
c.querySelector(f'.{CLASS_NAME}').focus()
|
||||
return
|
||||
cq = get_current_query()
|
||||
if cq.from_read_book:
|
||||
|
Loading…
x
Reference in New Issue
Block a user