diff --git a/EnvelopeGenerator.Web/wwwroot/js/annotation.js b/EnvelopeGenerator.Web/wwwroot/js/annotation.js index 291b43ce..1a54d193 100644 --- a/EnvelopeGenerator.Web/wwwroot/js/annotation.js +++ b/EnvelopeGenerator.Web/wwwroot/js/annotation.js @@ -316,6 +316,11 @@ function mapSignature(iJSON) { field.elementId = Number(nameParts[2]); field.name = nameParts[3]; return field; + }), + frames: iJSON.annotations.filter(annot => annot.description === 'FRAME').map((annot) => { + annot.name = annot.description.toLowerCase(); + annot.value = iJSON.attachments[annot.imageAttachmentId]?.binary || null; + return annot; }) }; } \ No newline at end of file