aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-web/src/main')
-rw-r--r--pdf-as-web/src/main/webapp/jsp/signupload.jsp8
1 files changed, 4 insertions, 4 deletions
diff --git a/pdf-as-web/src/main/webapp/jsp/signupload.jsp b/pdf-as-web/src/main/webapp/jsp/signupload.jsp
index 5db75e7..ba7651b 100644
--- a/pdf-as-web/src/main/webapp/jsp/signupload.jsp
+++ b/pdf-as-web/src/main/webapp/jsp/signupload.jsp
@@ -52,10 +52,10 @@
session.setAttribute(SignServlet.SUBMITFORM_FREETEXT_KEY, text_request);
}
if (lang_request.equals("de")) {
- session.setAttribute(SessionAttributes.LANGUAGE, "en");
+ session.setAttribute(SessionAttributes.LANGUAGE, "de");
}
else {
- session.setAttribute(SessionAttributes.LANGUAGE, "de");
+ session.setAttribute(SessionAttributes.LANGUAGE, "en");
}
}
@@ -859,9 +859,9 @@
This is for passing the information when the change language link was hit. -->
<form name="changelanguage" id="changelanguage" method="post" accept-charset="UTF-8" action="<%=baseUrl %>/" target="_self">
<% if (german) { %>
- <input type="hidden" name="newlanguage" value="de"/>
- <% } else { %>
<input type="hidden" name="newlanguage" value="en"/>
+ <% } else { %>
+ <input type="hidden" name="newlanguage" value="de"/>
<% } %>
<% if (source_mode!=null) {
if (source_mode.contains(FormFields.VALUE_SOURCE_FILE)) { %>