From ae7594d7ade2ebcf56a5ea4d6fe3800d88563288 Mon Sep 17 00:00:00 2001 From: fschneider Date: Tue, 1 Sep 2015 13:28:03 +0200 Subject: temp --- pdf-as-web/src/main/webapp/assets/js/dragNdrop.js | 1 + pdf-as-web/src/main/webapp/assets/js/langpack/th.json | 2 +- pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js | 4 ++-- pdf-as-web/src/main/webapp/assets/js/pdf.js/web/en.json | 2 +- pdf-as-web/src/main/webapp/assets/js/pdf.js/web/viewer.html | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) (limited to 'pdf-as-web') 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 7a5f580c..85101df6 100644 --- a/pdf-as-web/src/main/webapp/assets/js/dragNdrop.js +++ b/pdf-as-web/src/main/webapp/assets/js/dragNdrop.js @@ -80,6 +80,7 @@ function registerEventListeners() { place_on_new_page = false; toggleView("place"); + $("#iFrame").contents().find("#placeSignature").click(); }); $("#SignStepButton").bind("click", function(evt) { $("#methodContainer").show(); diff --git a/pdf-as-web/src/main/webapp/assets/js/langpack/th.json b/pdf-as-web/src/main/webapp/assets/js/langpack/th.json index 10dfdaca..af0d48a0 100644 --- a/pdf-as-web/src/main/webapp/assets/js/langpack/th.json +++ b/pdf-as-web/src/main/webapp/assets/js/langpack/th.json @@ -18,7 +18,7 @@ "The signature will be automatically placed on the bottom": "Die Signatur wird automatisch so weit unten wie möglich platziert", "Place your Signature by yourself": "Signatur manuell platzieren", "Download": "Herunterladen", - "Auto": "Auto", + "Place on new Page": "auf neuer Seite", "Signature will be placed at the bottom of your document": "Die Signatur wird automatisch so weit unten wie möglich platziert", "PDF-Signature Online": "PDF-Signatur Online", "English": "Deutsch", 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 5e286df8..90cf09fc 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 @@ -343,8 +343,8 @@ function placeSignature(evt, page_to_place, s) { } else // otherwise set default position { - left_pos = "30%"; - top_pos = "20%"; + left_pos = "4em"; + top_pos = "4em"; } var current_scale = PDFViewerApplication.pdfViewer.currentScale; diff --git a/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/en.json b/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/en.json index 13b5541d..d1924d0d 100644 --- a/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/en.json +++ b/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/en.json @@ -20,7 +20,7 @@ "Place your Signature by yourself": "Signatur manuell platzieren", "The signature will be automatically placed on the bottom": "Die Signatur wird automatisch so weit unten wie möglich platziert", "Auto": "Auto", - "English": "Deutsch", + "Place on new Page": "auf neuer Seite", "English": "Deutsch", "English": "Deutsch", "English": "Deutsch", diff --git a/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/viewer.html b/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/viewer.html index 6d0e507a..6d07e9b7 100644 --- a/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/viewer.html +++ b/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/viewer.html @@ -211,7 +211,7 @@ http://sourceforge.net/adobe/cmap/wiki/License/
... - +
-- cgit v1.2.3