From fe7c01a8bd76dff240e74bb770212911e227ba59 Mon Sep 17 00:00:00 2001 From: James Moger Date: Fri, 3 Feb 2012 17:24:51 -0500 Subject: [PATCH] Return to Users page after add/edit team --- src/com/gitblit/wicket/pages/EditTeamPage.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/com/gitblit/wicket/pages/EditTeamPage.java b/src/com/gitblit/wicket/pages/EditTeamPage.java index d78f889e..57e97351 100644 --- a/src/com/gitblit/wicket/pages/EditTeamPage.java +++ b/src/com/gitblit/wicket/pages/EditTeamPage.java @@ -208,11 +208,9 @@ public class EditTeamPage extends RootSubPage { // create another team info(MessageFormat.format("New team ''{0}'' successfully created.", teamModel.name)); - setResponsePage(EditTeamPage.class); - } else { - // back to users page - setResponsePage(UsersPage.class); } + // back to users page + setResponsePage(UsersPage.class); } }; -- 2.39.5