From 02e0f7ab18f139fc1923d397da927bcc03c63d95 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 23 Dec 2011 08:11:41 -0500 Subject: [PATCH] Improved empty page content --- src/com/gitblit/client/GitblitClient.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/com/gitblit/client/GitblitClient.java b/src/com/gitblit/client/GitblitClient.java index b944486..f9af8df 100644 --- a/src/com/gitblit/client/GitblitClient.java +++ b/src/com/gitblit/client/GitblitClient.java @@ -183,6 +183,13 @@ } } + public List<String> getAvailableScripts() { + if (settings.pushScripts == null) { + return new ArrayList<String>(); + } + return settings.pushScripts; + } + public ServerSettings getSettings() { return settings; } -- Gitblit v1.9.1