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.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/pdf-as-web/src/main/resources/template_provide.html b/pdf-as-web/src/main/resources/template_provide.html
index 1ff00d15..28b51ed4 100644
--- a/pdf-as-web/src/main/resources/template_provide.html
+++ b/pdf-as-web/src/main/resources/template_provide.html
@@ -10,11 +10,12 @@ PDF ready @: <a href="##PDFDATAURL##">download here</a>
var data = {
pdfas: {
success: true,
- pdfUrl: "Child URL"
+ pdfUrl: "##PDFDATAURL##"
}
}
-
- parent.postMessage(data, '##PUBLICURL##');
+
+ console.log("sending msg to parent: " + parent);
+ parent.postMessage(data, '*'); //'##PUBLICURL##');
</script>
</body>
</html>