From 6e2e990e1e31f75f72b00ca526d11a5aa202e3ae Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Mon, 4 May 2015 09:18:27 +0200 Subject: Cancel button locale for overlay div --- simpleSigning/src/main/resources/js/pdfas.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 = "
" + + var btnText = 'Abbrechen'; + if(locale == "EN") { + btnText = 'Cancel'; + } + + innerdivbottom.innerHTML = "
" innerdiv.appendChild(iframe); } -- cgit v1.2.3