summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--releases.moxie1
-rw-r--r--src/main/java/com/gitblit/wicket/pages/ActivityPage.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/releases.moxie b/releases.moxie
index cf332b06..78825fd1 100644
--- a/releases.moxie
+++ b/releases.moxie
@@ -13,6 +13,7 @@ r20: {
- Fixed support for implied SSH urls in web.otherUrls (issue-311)
- Fix potential NPE on removing uncached repository from cache
- Ignore the default contents of .git/description file
+ - Fix error on generating activity page when there is no activity
changes:
- Personal repository prefix (~) is now configurable (issue-265)
- Reversed line links in blob view (issue-309)
diff --git a/src/main/java/com/gitblit/wicket/pages/ActivityPage.java b/src/main/java/com/gitblit/wicket/pages/ActivityPage.java
index 7e347e18..99992eae 100644
--- a/src/main/java/com/gitblit/wicket/pages/ActivityPage.java
+++ b/src/main/java/com/gitblit/wicket/pages/ActivityPage.java
@@ -96,6 +96,7 @@ public class ActivityPage extends RootPage {
// no activity, skip graphs and activity panel
add(new Label("subheader", MessageFormat.format(headerPattern,
daysBack)));
+ add(new Label("chartsPanel").setVisible(false));
add(new Label("activityPanel"));
} else {
// calculate total commits and total authors