aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-web/src')
-rw-r--r--pdf-as-web/src/main/webapp/jsp/error.jsp12
1 files changed, 4 insertions, 8 deletions
diff --git a/pdf-as-web/src/main/webapp/jsp/error.jsp b/pdf-as-web/src/main/webapp/jsp/error.jsp
index c0f9977..754b74b 100644
--- a/pdf-as-web/src/main/webapp/jsp/error.jsp
+++ b/pdf-as-web/src/main/webapp/jsp/error.jsp
@@ -72,11 +72,9 @@
%>
<%
- //First part: if not within IFrame and the whole application also was not started within an IFrame
+ //If not within IFrame and the whole application also was not started within an IFrame
//we have to set the buergerkarte page as template
- //Second part is because mobile has redirect target _top and in case of cancel it would be redirected
- //from what this prevents
- if (((!withiniframe) && (!startedFromIFrame)) || ((!startedFromIFrame) && (((String)request.getAttribute("cause")).contains("Abbruch durch den Bürger über die Benutzerschnittstelle")))) {
+ if ((!withiniframe) && (!startedFromIFrame)) {
if (german) { %>
<meta name="decorator" content="production_de" />
<% } else { %>
@@ -190,10 +188,8 @@
//If application not started within an iframe
if (!startedFromIFrame) { %>
<%
- //First condition: if error didn't happen within IFrame (e.g. when local bku is called) the whole site has to be shown
- //Second condition is because mobile has to have redirect target _top to redirect
- //in case of successfull signature. But because of this also in case of cancel redirects
- if ((!withiniframe) || (cause.contains("Abbruch durch den Bürger über die Benutzerschnittstelle"))) { %>
+ //If error didn't happen within IFrame (e.g. when local bku is called) the whole site has to be shown
+ if (!withiniframe) { %>
<body style="background: #e6f2fa">
<h1 id="heading1" style="display:block">
<%