forked from I2P_Developers/i2p.i2p
Console: Don't display error after clicking restart on /graph page (ticket #1582)
This commit is contained in:
@@ -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">
|
||||
|
Reference in New Issue
Block a user