diff options
author | rpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2012-01-27 09:25:07 +0000 |
---|---|---|
committer | rpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2012-01-27 09:25:07 +0000 |
commit | 76ae639d38af2ec49c9d8a62c00538e549605fcc (patch) | |
tree | e619dd9dae757b51fb1e9e152dc2f9d93ef85541 /pdf-as-web | |
parent | fa4c96aa94a5752559931a19a49dc6205f34282c (diff) | |
download | pdf-as-3-76ae639d38af2ec49c9d8a62c00538e549605fcc.tar.gz pdf-as-3-76ae639d38af2ec49c9d8a62c00538e549605fcc.tar.bz2 pdf-as-3-76ae639d38af2ec49c9d8a62c00538e549605fcc.zip |
Added disabled local bku button and regarding functionality
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@904 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'pdf-as-web')
-rw-r--r-- | pdf-as-web/src/main/webapp/jsp/signupload.jsp | 8 |
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>
|