aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pdf-as-web/src/main/webapp/assets/js/dragNdrop.js4
-rw-r--r--pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js2
2 files changed, 0 insertions, 6 deletions
diff --git a/pdf-as-web/src/main/webapp/assets/js/dragNdrop.js b/pdf-as-web/src/main/webapp/assets/js/dragNdrop.js
index 04257579..b66073e6 100644
--- a/pdf-as-web/src/main/webapp/assets/js/dragNdrop.js
+++ b/pdf-as-web/src/main/webapp/assets/js/dragNdrop.js
@@ -10,12 +10,8 @@ function registerEventListeners() {
var connector = "mobilebku";
window.addEventListener("message", function receiveMessage(evt) {
- console.log("parent: message received");
- console.log(evt.data);
var iframewindow = document.getElementById("iFrame");
- console.log(file);
iframewindow.contentWindow.postMessage(file, "*");
- console.log("postmessage to child sent");
}, false);
$(document).bind("dragover", function(evt) {
diff --git a/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js b/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js
index c2173efb..361169bb 100644
--- a/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js
+++ b/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js
@@ -1,6 +1,5 @@
function setFileForParent(file) {
- console.log("SettingFileFOrparent");
if (window.self != window.parent) {
window.parent.file = file;
}
@@ -10,7 +9,6 @@ window.addEventListener("message", handlePostMessage, false);
function handlePostMessage(evt) {
var file = evt.data;
- console.log(file)
var signature_placed_manually = false;
var fileReader = new FileReader();