diff options
author | James Moger <james.moger@gitblit.com> | 2014-06-09 14:10:05 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-06-09 14:10:05 -0400 |
commit | a8d9888516fe052d5879b293a91854e41365fd0c (patch) | |
tree | 6ac92fcc28067a1a5ed1562a4ffb60f10b0758ed | |
parent | a755c76d9a035bc9cf9ca82ff1b8541d6711c635 (diff) | |
download | gitblit-a8d9888516fe052d5879b293a91854e41365fd0c.tar.gz gitblit-a8d9888516fe052d5879b293a91854e41365fd0c.zip |
Redirect to teams page on team creation, updates, or deletions
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/EditTeamPage.java | 6 |
1 files changed, 3 insertions, 3 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<? extends BasePage> 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);
|