diff options
-rw-r--r-- | simpleSigning/src/main/resources/js/pdfas.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/simpleSigning/src/main/resources/js/pdfas.js b/simpleSigning/src/main/resources/js/pdfas.js index 00d0182..2fd3f83 100644 --- a/simpleSigning/src/main/resources/js/pdfas.js +++ b/simpleSigning/src/main/resources/js/pdfas.js @@ -225,7 +225,13 @@ pdfAs.createAsyncSignature = function(pdfUrl, connector, divID, pdfAsURL, qrcode var innerdivbottom = document.createElement('div'); innerdivbottom.style.display = 'block'; element.appendChild(innerdivbottom); - innerdivbottom.innerHTML = "<center><button type='button' style='margin: 8px;' onclick='pdfAs.closeInstance(\"" + eventId + "\")'>Abbrechen</button></center>" + + var btnText = 'Abbrechen'; + if(locale == "EN") { + btnText = 'Cancel'; + } + + innerdivbottom.innerHTML = "<center><button type='button' style='margin: 8px;' onclick='pdfAs.closeInstance(\"" + eventId + "\")'>" + btnText + "</button></center>" innerdiv.appendChild(iframe); } |