I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit c9f1f69c authored by str4d's avatar str4d
Browse files

Fix isClient to get passed through properly

parent 9a5ea686
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
curPage = 1;
}
}
boolean tunnelIsClient = wizardBean.getIsClient();
boolean tunnelIsClient = Boolean.valueOf(request.getParameter("isClient"));
String tunnelType = request.getParameter("type");
%>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
......@@ -74,9 +74,9 @@
if (curPage == 1) {
%><div id="typeField" class="rowItem">
<label><%=intl._("Server Tunnel")%></label>
<input value="0" type="radio" id="baseType" name="isClient" class="tickbox" />
<input value="false" type="radio" id="baseType" name="isClient" class="tickbox" />
<label><%=intl._("Client Tunnel")%></label>
<input value="1" type="radio" id="baseType" name="isClient" class="tickbox" />
<input value="true" type="radio" id="baseType" name="isClient" class="tickbox" />
</div><%
} else {
%><input type="hidden" name="isClient" value="<%=tunnelIsClient%>" /><%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment