From: James Moger Date: Fri, 3 Feb 2012 22:24:51 +0000 (-0500) Subject: Return to Users page after add/edit team X-Git-Tag: v0.9.0~110 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fe7c01a8bd76dff240e74bb770212911e227ba59;p=gitblit.git Return to Users page after add/edit team --- 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); } };