aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/webapp/jsp
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-web/src/main/webapp/jsp')
-rw-r--r--pdf-as-web/src/main/webapp/jsp/signupload.jsp8
1 files changed, 7 insertions, 1 deletions
diff --git a/pdf-as-web/src/main/webapp/jsp/signupload.jsp b/pdf-as-web/src/main/webapp/jsp/signupload.jsp
index 10b5a74..5db75e7 100644
--- a/pdf-as-web/src/main/webapp/jsp/signupload.jsp
+++ b/pdf-as-web/src/main/webapp/jsp/signupload.jsp
@@ -230,6 +230,11 @@
else {
document.getElementById('sign').style.display = 'none';
document.getElementById('signiframe').style.display = 'block';
+
+ if (button.name=="smartcard") {
+ document.getElementById('localbku').style.display = 'block';
+ }
+
document.getElementById('signiframe').style.height = document.getElementById('signaturesettings').offsetHeight+'px';
if (document.getElementById('descriptionbeforedocument').style.display=='block') {
@@ -820,7 +825,8 @@
</iframe></div>
<div class="pdfassmallverticalspace"></div>
<div id="localbku" style="display:none; border-top:1px solid black; text-align:left; padding:3px">
- <input type="submit" name="<%= FormFields.FIELD_CONNECTOR_LOCALBKU %>" value="<fmt:message key="common.bku"/>" alt="Signatur mit lokaler BKU" onclick="return submitForm(this)"/>
+ <input type="submit" id="localbkubuttondisabled" name="<%= FormFields.FIELD_CONNECTOR_LOCALBKU %>" value="<fmt:message key="common.bku"/>" alt="Signatur mit lokaler BKU" onclick="return submitForm(this)" disabled="disabled" style="display:block"/>
+ <input type="submit" id="localbkubutton" name="<%= FormFields.FIELD_CONNECTOR_LOCALBKU %>" value="<fmt:message key="common.bku"/>" alt="Signatur mit lokaler BKU" onclick="return submitForm(this)" style="display:none"/>
<div style="font-size:75%"><fmt:message key="nullrequestpage.localbku.advice"/></div>
<div class="pdfassmallverticalspace"></div>
</div>