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

Skip to content
Snippets Groups Projects
Commit 5f7d6367 authored by zzz's avatar zzz
Browse files

Console: Don't display error after clicking restart on /graph page (ticket #1582)

parent 90a915b8
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,17 @@
<%@include file="summaryajax.jsi" %>
</head><body onload="initAjax()">
<%@include file="summary.jsi" %>
<%
// needs to be after the summary bar is rendered, so
// that the restart button is processed
String stat = request.getParameter("stat");
if (stat == null) {
// probably because restart or shutdown was clicked
response.setStatus(302);
response.setHeader("Location", "/graphs");
return;
}
%>
<h1><%=intl._t("I2P Performance Graphs")%></h1>
<div class="main" id="main">
<div class="graphspanel">
......
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