aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-web')
-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 { %>