aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2012-01-27 09:25:57 +0000
committerrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2012-01-27 09:25:57 +0000
commit60b79f4e2b36fb5dfd84c728ec4c3df7d2729183 (patch)
tree3127fd8be28d7f688879afa186671ab9d829e061
parent76ae639d38af2ec49c9d8a62c00538e549605fcc (diff)
downloadpdf-as-3-60b79f4e2b36fb5dfd84c728ec4c3df7d2729183.tar.gz
pdf-as-3-60b79f4e2b36fb5dfd84c728ec4c3df7d2729183.tar.bz2
pdf-as-3-60b79f4e2b36fb5dfd84c728ec4c3df7d2729183.zip
Improved functionality of enabling local bku button and resending form when local sign is choosen
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@905 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
-rw-r--r--pdf-as-web/src/main/webapp/jsp/null_request_page.jsp15
1 files changed, 13 insertions, 2 deletions
diff --git a/pdf-as-web/src/main/webapp/jsp/null_request_page.jsp b/pdf-as-web/src/main/webapp/jsp/null_request_page.jsp
index 1e91b17..57c786b 100644
--- a/pdf-as-web/src/main/webapp/jsp/null_request_page.jsp
+++ b/pdf-as-web/src/main/webapp/jsp/null_request_page.jsp
@@ -115,7 +115,7 @@
//Hitting the SendRequest button and submitting the form when Local BKU is wanted
function hitButton() {
document.submitform.submit();
- deactivateSprachlink();
+ //deactivateSprachlink();
disableElement("SendRequestButton");
if (document.getElementById("SendRequestButton")) {
document.getElementById("SendRequestButton").value = "<fmt:message key='nullrequestpage.button.pleasewait'/>";
@@ -162,7 +162,9 @@
parentDocument.submitform.<%= FormFields.FIELD_SOURCE_FREETEXT %>.disabled=true;
}
if (<%=isServerBKU%>==true) {
- parentDocument.getElementById('localbku').style.display = 'block';
+ parentDocument.getElementById('localbkubuttondisabled').style.display = 'none';
+ parentDocument.getElementById('localbkubutton').style.display = 'block';
+ pause(700);
}
//parentDocument.getElementById('pdfalink').style.display = 'none';
//parentDocument.getElementById('pdfalinkdeaktiviert').style.display = 'block';
@@ -200,6 +202,14 @@
document.getElementById('pdfasverticalspace').className='pdfasverticalspaceinternetexplorer';
}
}
+
+ function pause(millis) {
+ var date = new Date();
+ var curDate = null;
+ do {
+ curDate = new Date();
+ } while(curDate-date < millis);
+ }
-->
@@ -227,6 +237,7 @@
<% if (!isExternalInvocation) { %>
<script language="javascript" type="text/javascript">
window.setTimeout('disableFormSettings()',100);
+ disableFormSettings();
document.submitform.submit();
</script>
<% } else { %>