diff options
Diffstat (limited to 'pdf-as-web')
5 files changed, 6 insertions, 5 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 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/ <div class="input-group" id="PageInput"> <input type="number" id="pageNumber" class="form-control" placeholder="..." aria-describedby="PageNumberExtern" value=".."> <span class="input-group-addon" id="numPages">...</span> - <button id="PlaceOnNewPage" class="btn btn-primary pull-left" title="The signature will be automatically placed on a new page"><p id="PlaceOnNewPageText" lang="en">Auto</p><span class="glyphicon glyphicon-paste" id="PlaceOnNewPageIcon" aria-hidden="true"></span></button> + <button id="PlaceOnNewPage" class="btn btn-primary pull-left" title="The signature will be automatically placed on a new page"><p id="PlaceOnNewPageText" lang="en">Place on new Page</p><span class="glyphicon glyphicon-paste" id="PlaceOnNewPageIcon" aria-hidden="true"></span></button> </div> <button id="placeContinue" class="btn btn-success pull-right" title="Continue signing your document"><p id="ContinueToSignText" lang="en">Continue</p><span class="glyphicon glyphicon-ok" id="ContinueToSignIcon" aria-hidden="true"></span></button> <button id="BackBox" class="btn btn-primary pull-right"><p id="BackBoxText" lang="en">Back</p><span class="glyphicon glyphicon-chevron-left" id="BackBoxIcon" aria-hidden="true"></span></button> |