summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-10-15 09:43:09 -0400
committerJames Moger <james.moger@gitblit.com>2013-10-15 09:43:09 -0400
commite1908933fa9968b11e9ea03d88730aee3140534b (patch)
treeca609bfb6dc3b94b788922a70701db869b3eddce /src/main/java
parente9dac2e9ead1decb8abb1bf9df3cd638a2f5eb04 (diff)
downloadgitblit-e1908933fa9968b11e9ea03d88730aee3140534b.tar.gz
gitblit-e1908933fa9968b11e9ea03d88730aee3140534b.zip
Fix error on generating activity page when there is no activity
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/gitblit/wicket/pages/ActivityPage.java1
1 files changed, 1 insertions, 0 deletions
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