aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/resources/template_provide.html
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-web/src/main/resources/template_provide.html')
-rw-r--r--pdf-as-web/src/main/resources/template_provide.html13
1 files changed, 5 insertions, 8 deletions
diff --git a/pdf-as-web/src/main/resources/template_provide.html b/pdf-as-web/src/main/resources/template_provide.html
index 28b51ed4..76287404 100644
--- a/pdf-as-web/src/main/resources/template_provide.html
+++ b/pdf-as-web/src/main/resources/template_provide.html
@@ -7,15 +7,12 @@
PDF ready @: <a href="##PDFDATAURL##">download here</a>
<script type="text/javascript">
- var data = {
- pdfas: {
- success: true,
- pdfUrl: "##PDFDATAURL##"
- }
- }
- console.log("sending msg to parent: " + parent);
- parent.postMessage(data, '*'); //'##PUBLICURL##');
+
+ console.log("sending success msg to parent: " + parent);
+ window.parent.respond("##PDFDATAURL##", true);
+
+
</script>
</body>
</html>