From: James Moger Date: Mon, 9 Jun 2014 18:10:05 +0000 (-0400) Subject: Redirect to teams page on team creation, updates, or deletions X-Git-Tag: v1.6.0~29 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a8d9888516fe052d5879b293a91854e41365fd0c;p=gitblit.git Redirect to teams page on team creation, updates, or deletions --- diff --git a/src/main/java/com/gitblit/wicket/pages/EditTeamPage.java b/src/main/java/com/gitblit/wicket/pages/EditTeamPage.java index a0d11a05..f537f33d 100644 --- a/src/main/java/com/gitblit/wicket/pages/EditTeamPage.java +++ b/src/main/java/com/gitblit/wicket/pages/EditTeamPage.java @@ -86,7 +86,7 @@ public class EditTeamPage extends RootSubPage { @Override protected Class getRootNavPageClass() { - return UsersPage.class; + return TeamsPage.class; } protected void setupPage(final TeamModel teamModel) { @@ -214,7 +214,7 @@ public class EditTeamPage extends RootSubPage { teamModel.name)); } // back to users page - setResponsePage(UsersPage.class); + setResponsePage(TeamsPage.class); } }; @@ -249,7 +249,7 @@ public class EditTeamPage extends RootSubPage { @Override public void onSubmit() { - setResponsePage(UsersPage.class); + setResponsePage(TeamsPage.class); } }; cancel.setDefaultFormProcessing(false);