diff --git a/assets/webui/ofdgo.js b/assets/webui/ofdgo.js index eadbecd..bccec28 100644 --- a/assets/webui/ofdgo.js +++ b/assets/webui/ofdgo.js @@ -13086,6 +13086,7 @@ function showError(err, empty = !state.doc) { function setBusy(busy, text = "", percent = 0, status = "", tab = documentTab()) { const operation = operationRequest(tab); + if (!busy && operation) tab.preparationBusy = true; busy ||= Boolean(tab.editTask || operation); if (operation?.preparing && operation.progress) ({text, percent} = operation.progress); const resumeSearch = tab.busy && !busy && tab.state.searchPaused; diff --git a/internal/webui/webui.go b/internal/webui/webui.go index 2060cf8..7c63981 100644 --- a/internal/webui/webui.go +++ b/internal/webui/webui.go @@ -1622,6 +1622,8 @@ func (e *businessEngine) checkDocument(name string) error { return nil } switch name { + case "ofdgoFontFaces", "ofdgoFontMenu", "ofdgoFontPreferenceOrder", "ofdgoFontFace", "ofdgoCheckTextFont": + return nil case "ofdgoDiscardObjects", "ofdgoExportObjects", "ofdgoCheckDocument", "ofdgoPDFContext", "ofdgoOpenPDF", "ofdgoOpen", "ofdgoLoadPDF", "ofdgoConfigure", "ofdgoDocumentInfo", "ofdgoSVGFontData", "ofdgoRenderBackends", "ofdgoOutputFormats", "ofdgoExportFormats", "ofdgoParsePageRange", "ofdgoMatchFontFiles", "ofdgoOutlineLinks", "ofdgoDocumentNavigation", "ofdgoInvoices", "ofdgoRenderPage", "ofdgoSearchPage", "ofdgoPageTextString", "ofdgoOpenLinks", "ofdgoDiscardPrint", "ofdgoDiscardSave", "ofdgoDetectFormat", "ofdgoConvertFile", "ofdgoPackFiles", "ofdgoLoadImport", "ofdgoCreateDocument", "ofdgoLayoutPrint", "ofdgoPrintSide", "ofdgoPrintPDF": return nil default: