aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web
diff options
context:
space:
mode:
authorrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-10-24 17:08:47 +0000
committerrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-10-24 17:08:47 +0000
commit68320f87350df39dd48e8fe4cd3b60e699170599 (patch)
treedf7a8479c232063cdd5fc50f4dd3a69e78a7fd4b /pdf-as-web
parent7d9e6231105818b86bf475d3d04db59ae3937b11 (diff)
downloadpdf-as-3-68320f87350df39dd48e8fe4cd3b60e699170599.tar.gz
pdf-as-3-68320f87350df39dd48e8fe4cd3b60e699170599.tar.bz2
pdf-as-3-68320f87350df39dd48e8fe4cd3b60e699170599.zip
Added javascript window.setTimeout() to prevent from users clicking promptly at the local bku button, when the SignServlet is not passed completely and not all parameters are set yet
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@877 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'pdf-as-web')
-rw-r--r--pdf-as-web/src/main/webapp/jsp/null_request_page.jsp5
1 files changed, 2 insertions, 3 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 661230a..f089242 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
@@ -226,14 +226,13 @@
</form>
<% if (!isExternalInvocation) { %>
<script language="javascript" type="text/javascript">
- disableFormSettings();
+ window.setTimeout('disableFormSettings()',100);
document.submitform.submit();
</script>
<% } else { %>
<script language="javascript" type="text/javascript">
deactivateSprachlink();
- window.setTimeout("document.submitform.submit()", 10000);
- //document.submitform.submit();
+ document.submitform.submit();
</script>
<% } %>
</div>