]> source.dussan.org Git - gitblit.git/commitdiff
Return to Users page after add/edit team
authorJames Moger <james.moger@gitblit.com>
Fri, 3 Feb 2012 22:24:51 +0000 (17:24 -0500)
committerJames Moger <james.moger@gitblit.com>
Fri, 3 Feb 2012 22:24:51 +0000 (17:24 -0500)
src/com/gitblit/wicket/pages/EditTeamPage.java

index d78f889ef72afb44c4f4a23c1ef3b54ce370718a..57e97351d7f7e0b8698157b9e9ea3d8322b504dd 100644 (file)
@@ -208,11 +208,9 @@ public class EditTeamPage extends RootSubPage {
                                        // create another team\r
                                        info(MessageFormat.format("New team ''{0}'' successfully created.",\r
                                                        teamModel.name));\r
-                                       setResponsePage(EditTeamPage.class);\r
-                               } else {\r
-                                       // back to users page\r
-                                       setResponsePage(UsersPage.class);\r
                                }\r
+                               // back to users page\r
+                               setResponsePage(UsersPage.class);\r
                        }\r
                };\r
 \r