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