Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix: broken print dialog in extensions

Ilian Sapundshievb4930d8f5918
diff --git a/app/components/EntryContainer.tsx b/app/components/EntryContainer.tsx
index 184a0af85..c4dcb31e1 100644
--- a/app/components/EntryContainer.tsx
+++ b/app/components/EntryContainer.tsx
@@ -882,7 +882,7 @@ class EntryContainer extends React.Component<Props, State> {
className={this.props.classes.fileOpener}
src={fileOpenerURL}
allowFullScreen
- sandbox="allow-same-origin allow-scripts"
+ sandbox="allow-same-origin allow-scripts allow-modals"
title={i18n.t('core:fileViewer')}
id="FileViewer"
/>