Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_pdfviewer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/workersrc.js')
-rw-r--r--src/workersrc.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/workersrc.js b/src/workersrc.js
index 98fda00..92bb268 100644
--- a/src/workersrc.js
+++ b/src/workersrc.js
@@ -46,6 +46,7 @@ function initializeCustomPDFViewerApplication() {
PDFViewerApplicationOptions.set('isEvalSupported', false)
PDFViewerApplicationOptions.set('workerSrc', document.getElementsByTagName('head')[0].getAttribute('data-workersrc'))
PDFViewerApplicationOptions.set('cMapUrl', document.getElementsByTagName('head')[0].getAttribute('data-cmapurl'))
+ PDFViewerApplicationOptions.set('enablePermissions', true)
console.debug('Initialized files_pdfviewer', PDFViewerApplicationOptions.getAll())