summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/wicket/pages/EditRepositoryPage.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-10-14 17:05:23 -0400
committerJames Moger <james.moger@gitblit.com>2011-10-14 17:05:23 -0400
commitbcc616b8e425f73e7abc6799f23445c1e411463d (patch)
tree1779d4179b555bba4f1b73e3ab7af5fc9438c6f1 /src/com/gitblit/wicket/pages/EditRepositoryPage.java
parentb7f591781f4bd2e3c94596a2b1f2cf73cdc0d7cd (diff)
downloadgitblit-bcc616b8e425f73e7abc6799f23445c1e411463d.tar.gz
gitblit-bcc616b8e425f73e7abc6799f23445c1e411463d.zip
Rpc Client create/edit user and repository now fully functional.
Diffstat (limited to 'src/com/gitblit/wicket/pages/EditRepositoryPage.java')
-rw-r--r--src/com/gitblit/wicket/pages/EditRepositoryPage.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/gitblit/wicket/pages/EditRepositoryPage.java b/src/com/gitblit/wicket/pages/EditRepositoryPage.java
index 2afe014c..4212a85f 100644
--- a/src/com/gitblit/wicket/pages/EditRepositoryPage.java
+++ b/src/com/gitblit/wicket/pages/EditRepositoryPage.java
@@ -147,6 +147,12 @@ public class EditRepositoryPage extends RootSubPage {
return;
}
+ // confirm federation strategy selection
+ if (repositoryModel.federationStrategy == null) {
+ error("Please select federation strategy!");
+ return;
+ }
+
// save federation set preferences
if (repositoryModel.federationStrategy.exceeds(FederationStrategy.EXCLUDE)) {
repositoryModel.federationSets.clear();