Skip to content

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

allow printing of images in the webdav version

uggrock2582e759c282
diff --git a/data/ext/viewerHTML/extension.js b/data/ext/viewerHTML/extension.js
index 0406a65ce..d8fe28d3d 100644
--- a/data/ext/viewerHTML/extension.js
+++ b/data/ext/viewerHTML/extension.js
@@ -33,7 +33,7 @@ define(function(require, exports, module) {
$containerElement.empty();
$containerElement.css("background-color", "white");
$containerElement.append($('<iframe>', {
- "sandbox": "allow-same-origin allow-scripts",
+ "sandbox": "allow-same-origin allow-scripts allow-modals",
"id": "iframeViewer",
"nwdisable": "",
//"nwfaketop": "",
diff --git a/data/ext/viewerMD/extension.js b/data/ext/viewerMD/extension.js
index e19ad6f8c..6df83ee29 100644
--- a/data/ext/viewerMD/extension.js
+++ b/data/ext/viewerMD/extension.js
@@ -37,7 +37,7 @@ define(function(require, exports, module) {
$containerElement.empty();
$containerElement.css("background-color", "white");
$containerElement.append($('<iframe>', {
- sandbox: "allow-same-origin allow-scripts",
+ sandbox: "allow-same-origin allow-scripts allow-modals",
id: "iframeViewer",
"nwdisable": "",
//"nwfaketop": "",