diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2015-04-28 08:59:48 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2015-04-28 08:59:48 +0200 |
commit | 106f505afe50489f97a65ccd6d83667fe2049fc5 (patch) | |
tree | a4f780a1beee6e2d6415ea4950e82cf5c48feb1e | |
parent | 55194159de4eb2c6ce4c37d4367a788aa390ce5d (diff) | |
download | einfach-signieren-106f505afe50489f97a65ccd6d83667fe2049fc5.tar.gz einfach-signieren-106f505afe50489f97a65ccd6d83667fe2049fc5.tar.bz2 einfach-signieren-106f505afe50489f97a65ccd6d83667fe2049fc5.zip |
Changed locale for cancel button
-rw-r--r-- | simpleSigning/src/main/resources/js/pdfas.js | 6 |
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); |