[tor-commits] [metrics-web/master] Fix navbar on table pages.
karsten at torproject.org
karsten at torproject.org
Mon Jan 9 17:03:42 UTC 2017
commit a5ca759d0b47e65c69e41dc1ba2595d5221b8809
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Thu Dec 22 20:02:19 2016 +0100
Fix navbar on table pages.
---
website/src/org/torproject/metrics/web/TableServlet.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/website/src/org/torproject/metrics/web/TableServlet.java b/website/src/org/torproject/metrics/web/TableServlet.java
index 7e6619c..323c2fc 100644
--- a/website/src/org/torproject/metrics/web/TableServlet.java
+++ b/website/src/org/torproject/metrics/web/TableServlet.java
@@ -48,6 +48,7 @@ public class TableServlet extends MetricServlet {
response.sendError(HttpServletResponse.SC_BAD_REQUEST);
return;
}
+ request.setAttribute("categories", this.categories);
request.setAttribute("id", requestedId);
request.setAttribute("title", this.titles.get(requestedId));
if (this.categoriesById.containsKey(requestedId)) {
More information about the tor-commits
mailing list