From 853d309960306aa9a675e2a86d42624a334a5fa2 Mon Sep 17 00:00:00 2001 From: zzz Date: Sat, 4 Oct 2014 13:54:09 +0000 Subject: [PATCH] i2ptunnel: Fix js confirm for delete button --- apps/i2ptunnel/jsp/edit.jsp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/i2ptunnel/jsp/edit.jsp b/apps/i2ptunnel/jsp/edit.jsp index 08b07c7a5..06eeee371 100644 --- a/apps/i2ptunnel/jsp/edit.jsp +++ b/apps/i2ptunnel/jsp/edit.jsp @@ -2,7 +2,8 @@ // NOTE: Do the header carefully so there is no whitespace before the <%@page pageEncoding="UTF-8" @@ -10,7 +11,7 @@ %><%@page contentType="text/html" import="net.i2p.i2ptunnel.web.EditBean" %><% String tun = request.getParameter("tunnel"); - if (tun != null) { +if (tun != null) { try { int curTunnel = Integer.parseInt(tun); if (EditBean.staticIsClient(curTunnel)) {