1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-28 13:57:42 +00:00

Kobo sync token is now also created if accessed from localhost(fixes #1990)

Create kobo sync token button is now "unclicked" after closing dialog
Additional localhost route is catched
If book format is deleted this also deletes the book synced to kobo status
This commit is contained in:
Ozzie Isaacs
2022-01-22 18:23:08 +01:00
parent e8e2f789e5
commit 3b216bfa07
5 changed files with 45 additions and 46 deletions

View File

@@ -535,6 +535,7 @@ $(function() {
$("#modal_kobo_token")
.on("show.bs.modal", function(e) {
$(e.relatedTarget).one('focus', function(e){$(this).blur();});
var $modalBody = $(this).find(".modal-body");
// Prevent static assets from loading multiple times