aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--simpleSigning/src/main/resources/js/pdfas.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/simpleSigning/src/main/resources/js/pdfas.js b/simpleSigning/src/main/resources/js/pdfas.js
index a96feee..3c353ee 100644
--- a/simpleSigning/src/main/resources/js/pdfas.js
+++ b/simpleSigning/src/main/resources/js/pdfas.js
@@ -207,7 +207,11 @@ pdfAs.createAsyncSignature = function(pdfUrl, connector, divID, pdfAsURL, qrcode
var innerdivbottom = document.createElement('div');
innerdivbottom.style.display = 'block';
div.appendChild(innerdivbottom);
- innerdivbottom.innerHTML = "<center><button type='button' style='margin: 8px;' onclick='pdfAs.closeInstance(\"" + eventId + "\")'>Abbrechen</button></center>"
+ var btnText = 'Cancel';
+ if(locale == "DE") {
+ btnText = 'Abbrechen';
+ }
+ innerdivbottom.innerHTML = "<center><button type='button' style='margin: 8px;' onclick='pdfAs.closeInstance(\"" + eventId + "\")'>" + btnText + "</button></center>"
//innerdiv.innerHTML = "<a href='#' onclick='pdfAs.checkOverlay(\"" + eventId + "\")'>close</a>";
innerdiv.appendChild(iframe);