]> source.dussan.org Git - gitblit.git/commitdiff
Redirect to teams page on team creation, updates, or deletions
authorJames Moger <james.moger@gitblit.com>
Mon, 9 Jun 2014 18:10:05 +0000 (14:10 -0400)
committerJames Moger <james.moger@gitblit.com>
Mon, 9 Jun 2014 18:10:05 +0000 (14:10 -0400)
src/main/java/com/gitblit/wicket/pages/EditTeamPage.java

index a0d11a057929fe6f12428afeadf665671b817f8a..f537f33de121d0287ee5eaae015adf20295fcbc7 100644 (file)
@@ -86,7 +86,7 @@ public class EditTeamPage extends RootSubPage {
 \r
        @Override\r
        protected Class<? extends BasePage> getRootNavPageClass() {\r
-               return UsersPage.class;\r
+               return TeamsPage.class;\r
        }\r
 \r
        protected void setupPage(final TeamModel teamModel) {\r
@@ -214,7 +214,7 @@ public class EditTeamPage extends RootSubPage {
                                                        teamModel.name));\r
                                }\r
                                // back to users page\r
-                               setResponsePage(UsersPage.class);\r
+                               setResponsePage(TeamsPage.class);\r
                        }\r
                };\r
 \r
@@ -249,7 +249,7 @@ public class EditTeamPage extends RootSubPage {
 \r
                        @Override\r
                        public void onSubmit() {\r
-                               setResponsePage(UsersPage.class);\r
+                               setResponsePage(TeamsPage.class);\r
                        }\r
                };\r
                cancel.setDefaultFormProcessing(false);\r