From c81c4cb873f78134d525228fe5237334a8fda6a0 Mon Sep 17 00:00:00 2001 From: str4d <str4d@mail.i2p> Date: Fri, 27 Jan 2012 04:06:04 +0000 Subject: [PATCH] Fix autostart hidden input to not appear if checkbox not ticked --- apps/i2ptunnel/jsp/wizard.jsp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/i2ptunnel/jsp/wizard.jsp b/apps/i2ptunnel/jsp/wizard.jsp index 64f0ce9af1..40eee4d56b 100644 --- a/apps/i2ptunnel/jsp/wizard.jsp +++ b/apps/i2ptunnel/jsp/wizard.jsp @@ -248,7 +248,9 @@ <span class="comment"><%=intl._("(Check the Box for 'YES')")%></span> </div><% } else { + if ("1".equals(request.getParameter("startOnLoad"))) { %><input type="hidden" name="startOnLoad" value="<%=request.getParameter("startOnLoad")%>" /><% + } } /* curPage 6 */ /* End page 6 */ %> -- GitLab