From bcd8ae3dece3350421706a35964c34ee1e1d88b1 Mon Sep 17 00:00:00 2001 From: Alexander Dikhtiarenko Date: Wed, 28 Oct 2020 12:06:52 +0200 Subject: [PATCH] show invalid signatures anyway --- src/core/annotation.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/core/annotation.js b/src/core/annotation.js index 68626cdf65575..e3662e2686184 100644 --- a/src/core/annotation.js +++ b/src/core/annotation.js @@ -833,10 +833,12 @@ class WidgetAnnotation extends Annotation { // Hide signatures because we cannot validate them, and unset the fieldValue // since it's (most likely) a `Dict` which is non-serializable and will thus // cause errors when sending annotations to the main-thread (issue 10347). - if (data.fieldType === "Sig") { - data.fieldValue = null; - this.setFlags(AnnotationFlag.HIDDEN); - } + // + // UPDATE: Comment this, show the signatures anyway + // if (data.fieldType === "Sig") { + // data.fieldValue = null; + // this.setFlags(AnnotationFlag.HIDDEN); + // } } /**