diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2015-05-04 09:18:27 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2015-05-04 09:18:27 +0200 |
commit | 6e2e990e1e31f75f72b00ca526d11a5aa202e3ae (patch) | |
tree | 3707bc978e913f8c2e93e6560263c8e358759ebf /simpleSigning | |
parent | a1e5e73cd845ffdf51c7e7ea2d4073bec7eff290 (diff) | |
download | einfach-signieren-6e2e990e1e31f75f72b00ca526d11a5aa202e3ae.tar.gz einfach-signieren-6e2e990e1e31f75f72b00ca526d11a5aa202e3ae.tar.bz2 einfach-signieren-6e2e990e1e31f75f72b00ca526d11a5aa202e3ae.zip |
Cancel button locale for overlay div
Diffstat (limited to 'simpleSigning')
-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); } |