Browse Source

Redirect to Summary page after editing a repository

tags/v1.5.0
James Moger 10 years ago
parent
commit
7febf59256
2 changed files with 6 additions and 1 deletions
  1. 1
    0
      releases.moxie
  2. 5
    1
      src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.java

+ 1
- 0
releases.moxie View File

@@ -16,6 +16,7 @@ r22: {
changes:
- Specify the --dailyLogFile option for the Ubuntu and CentOS service scripts (issue-348)
- The ticket close-on-push commit message regular expression is now configurable by a setting (issue-404)
- Redirect to summary page on edit repository (issue-405)
- Option to allow LDAP users to directly authenticate without performing LDAP searches (pr-162)
- Replace JCommander with args4j to be consistent with other tools (ticket-28)
additions:

+ 5
- 1
src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.java View File

@@ -427,7 +427,11 @@ public class EditRepositoryPage extends RootSubPage {
return;
}
setRedirect(false);
setResponsePage(RepositoriesPage.class);
if (isCreate) {
setResponsePage(RepositoriesPage.class);
} else {
setResponsePage(SummaryPage.class, WicketUtils.newRepositoryParameter(repositoryModel.name));
}
}
};

Loading…
Cancel
Save